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

Reaction Data Model

PropertyTypeDescriptionExample Values
referenceIdStringUnique identifier of the content"post_123", "comment_456"
referenceTypeStringType of content being reacted to"POST", "STORY", "COMMENT", "MESSAGE"
reactionNameStringName of the reaction (max 100 chars)"like", "love", "wow", "laugh"
reactionIdStringUnique identifier of the reaction"reaction_789"
reactorIdStringID of the user who reacted"user_101"
reactorDisplayNameStringDisplay name of the reactor"John Doe"
createdAtDateTimeTimestamp when reaction was created2025-06-15T10:30:00Z
updatedAtDateTimeTimestamp of last reaction update2025-06-15T10:35:00Z

Reaction Types

Standard Reactions

Common Types:
  • like - General approval
  • dislike - Disapproval
  • love - Strong positive emotion
  • laugh - Humor and entertainment
  • wow - Surprise and amazement
  • sad - Empathy and sorrow
  • angry - Frustration or disagreement

Custom Reactions

Business Specific:
  • celebrate - Achievements
  • support - Encouragement
  • question - Inquiry marker
  • idea - Innovation indicator
  • fire - Trending content
  • clap - Appreciation

Contextual Reactions

Use Case Specific:
  • helpful - Educational content
  • inspiring - Motivational posts
  • informative - Knowledge sharing
  • funny - Entertainment value
  • agree - Opinion alignment
  • disagree - 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.