Social Realtime Events
Last updated
Was this helpful?
Last updated
Was this helpful?
A topic is a distinct path that must be constructed for each model to which you wish to subscribe in real-time. The SDK provides helper methods to create these topics for each model type. Each topic encompasses an events enum, which developers can select to subscribe to based on their business context and interests.
To subscribe to updates from a community or any content created within that community, the user must have the 'Member' status in that community. Once the user leaves the community, they will no longer receive real-time events.
COMMUNITY
- subscription to changes in the community object
POSTS
- subscription to changes of post objects in the community
COMMENTS
- subscription to changes of comment objects in the community
POST and COMMENTS
- subscription to changes of posts and posts comments in the community
STORY and COMMENTS
- subscription to changes of story and story comments in the community
The default value is COMMUNITY
POST
- subscription to changes of the post object
COMMENTS
- subscription to changes of comment objects on the post
The default value is POST
COMMENT
- subscription to changes in the comment object
USER
- subscription to changes in the user object
POSTS
- subscription to changes of post objects in the user feed
COMMENTS
- subscription to changes of comment objects in the user feed
POST and COMMENTS
- subscription to changes of post and comment objects in the user feed
The default value is USER
MY_FOLLOWERS
- subscription to changes related to users that the current user follows
MY_FOLLOWING
- subscription to changes related to users that follow current user
Subscription to changes related to specific stories.