To further facilitate the management of reactions in your app, the Social SDK product includes a getReactions
method that allows you to retrieve information about a specific reaction or all reactions on a comment and post.
Using this method, you can fetch detailed information about a particular reaction, including the user who made the reaction, the timestamp of the reaction, and any additional metadata associated with the reaction. This can be useful for analyzing the sentiment of the community and gaining insights into the types of content that are resonating with your users.
To query getReactions
you'll need to simply provide referenceType
and referenceId
to query specific type of reactions. For further information regarding reaction reference types, please see - #create-comment.
Each post, comment, message has a set of fields providing detailed info about reactions.
reactionsCount
- how many reactions the post has
myReactions
- list of reactions you added to the post
reactions
- map that tells how many reactions of a certain type a post has
Version 6
Beta(v0.0.1)