Reactions
Enable expressive user engagement through comprehensive reaction systems that support posts, stories, comments, and messages. Build interactive communities where users can express emotions and respond to content with customizable reaction types.Architecture Overview
Key Features
Multi-Content Support
React to posts, stories, comments, and messages with unified API
Custom Reaction Types
Support unlimited reaction types: like, love, wow, laugh, and custom emotions
Real-time Updates
Instant reaction synchronization across all connected clients
Analytics Integration
Comprehensive reaction analytics and engagement metrics
Supported Reference Types
Post Reactions
Post Reactions
Reference Type:
POST
Description: Enable users to react to posts within feeds and communities. Perfect for social engagement and content discovery.Use Cases:- Social feed interactions
- Community engagement
- Content popularity metrics
- User sentiment analysis
Story Reactions
Story Reactions
Reference Type:
STORY
Description: Allow reactions on ephemeral story content. Ideal for real-time engagement and story analytics.Use Cases:- Story engagement tracking
- Real-time feedback
- Story performance metrics
- User interaction patterns
Comment Reactions
Comment Reactions
Message Reactions
Message Reactions
Reference Type:
MESSAGE
Description: Support reactions in chat and messaging contexts for expressive communication.Use Cases:- Chat engagement
- Message acknowledgment
- Emotional expression
- Communication analytics
Reaction Data Model
Property | Type | Description | Example Values |
---|---|---|---|
referenceId | String | Unique identifier of the content | "post_123" , "comment_456" |
referenceType | String | Type of content being reacted to | "POST" , "STORY" , "COMMENT" , "MESSAGE" |
reactionName | String | Name of the reaction (max 100 chars) | "like" , "love" , "wow" , "laugh" |
reactionId | String | Unique identifier of the reaction | "reaction_789" |
reactorId | String | ID of the user who reacted | "user_101" |
reactorDisplayName | String | Display name of the reactor | "John Doe" |
createdAt | DateTime | Timestamp when reaction was created | 2025-06-15T10:30:00Z |
updatedAt | DateTime | Timestamp of last reaction update | 2025-06-15T10:35:00Z |
Reaction Types
Standard Reactions
Common Types:
like
- General approvaldislike
- Disapprovallove
- Strong positive emotionlaugh
- Humor and entertainmentwow
- Surprise and amazementsad
- Empathy and sorrowangry
- Frustration or disagreement
Custom Reactions
Business Specific:
celebrate
- Achievementssupport
- Encouragementquestion
- Inquiry markeridea
- Innovation indicatorfire
- Trending contentclap
- Appreciation
Contextual Reactions
Use Case Specific:
helpful
- Educational contentinspiring
- Motivational postsinformative
- Knowledge sharingfunny
- Entertainment valueagree
- Opinion alignmentdisagree
- Counterpoints
Case Sensitivity: Reaction names are case-sensitive. “like” and “Like” are treated as different reaction types.
Character Limit: Reaction names have a maximum length of 100 characters to ensure database efficiency and UI compatibility.
COMMENT
Description: Enable reactions on comments to facilitate deeper conversation engagement and community building.Use Cases: