Reactions
Let users react to messages, posts, and comments, which are visible to others.
Last updated
Let users react to messages, posts, and comments, which are visible to others.
Last updated
Reactions are the interactions that users can perform on messages, posts, or comments. The interactions can be anything such as like, dislike, love, etc. It's up to the client to determine the type of reactions. The SDK provides convenient functions to add, remove, and query reactions for any content. Currently, reactions are supported for Posts, Messages, and Comments.
The Social Plus SDK provides two reference types for querying reactions: comment reference type and post reference type.
Comment Reference Type: allows users to query reactions made to a specific comment. This is useful when users want to see how others have responded to a particular comment.
Post Reference Type: allows users to query reactions made to a specific post. This is helpful when users want to see how others have engaged with a particular piece of post.
Story Reference Type: allows users to query reactions made to a specific story. This is helpful when users want to see how others have reacted to a particular piece of story.
Name | Data Type | Description | Attributes |
|
| ID of a document | |
|
| Type of document | |
|
| Name of reaction | ' |
|
| ID of the reaction | |
|
| ID of the reactor | |
|
| Display name of the reactor | |
|
| The date/time when a reaction is created |