You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i filter reactions with user_id and activity_id, i catch error: Must provide exactly one value for one of these params: user_id, activity_id, reaction_id.
How to know user like activity and don't query all reactions kind "like"?
gz#13672
The text was updated successfully, but these errors were encountered:
Thanks for reaching out.
You can only filter reactions by one of those fields, i.e user_id or activity_id, or reaction_id. The API does not support filtering by both user_id and activity_id. That being said, the best way for the current user to know if he liked a given activity, would be by retrieving its own reactions. You can typically do that as you mentioned, i.e using the ownReactions field while reading the feed :
I use this code to get feed but audience can't know they like or not like this activity, unless i get all reactions.
When i filter reactions with user_id and activity_id, i catch error: Must provide exactly one value for one of these params: user_id, activity_id, reaction_id.
How to know user like activity and don't query all reactions kind "like"?
gz#13672
The text was updated successfully, but these errors were encountered: