Reactions and Feeds
Confused about "Reactions and Feeds"?
Let us know how we can improve our documentation:
LAST EDIT Nov 07 2024
Read Feeds with Reactions
Copied!Confused about "Read Feeds with Reactions"?
Let us know how we can improve our documentation:
When using reactions, it is possible to request enriched activities that include both attached reactions by type and reaction counters.
Listed below are the parameters for retrieving reactions.
The "recent" parameter includes up to 5 of the most recent reactions per type
Parameters
Copied!Confused about "Parameters"?
Let us know how we can improve our documentation:
name | type | description | default | optional |
---|---|---|---|---|
recent | boolean | Include the 5 most recent reactions to activities per type. | - | ✓ |
own | boolean | Include the current user's reaction to activities. | - | ✓ |
counts | boolean | Include the total count of reaction (by kind) to activities. | - | ✓ |
user_id | string | Filter reactions to specific user. | - | ✓ |
Notify Other Feeds
Copied!Confused about "Notify Other Feeds"?
Let us know how we can improve our documentation:
When adding a reaction, you can use the target_feeds
parameter to notify a list of users about the new reaction. When specified, all targeted feeds will receive an activity containing a reference to the reaction.
The
targetFeeds
field is limited to a maximum of 20 targets per API request.