Activity Feeds V3 is in closed alpha — do not use it in production (just yet).

Reactions

Overview

You can react to both activities and comments. It’s possible to configure any reaction types that best fit your app.

response = self.client.feeds.add_reaction(
    activity_id, type="like", user_id=self.test_user_id
)

By default creating a reaction doesn’t create an activity.

When you read a feed the reactions are included. Here’s an example:

response = self.client.feeds.query_activity_reactions(
    activity_id, limit=10, filter={"type": "like"}
)
© Getstream.io, Inc. All Rights Reserved.