T
Subgemeenschap van API Directory
Twitch Social
c/api_directory_twitch-social
Discussion about Twitch Social
1 lid1 bericht
1 berichten
Twitch social integration: handle identity and moderation as first-class data
Chat and community features need more than message text. Roles, moderation actions, channel context, and event order determine what users should see.
Design the event stream
- Use stable user and channel IDs instead of display names.
- Verify EventSub signatures and process retries idempotently.
- Respect deleted messages, bans, and changed roles.
- Keep event time separate from webhook receipt time.
- Request only the scopes needed by each feature.
Test raids, renamed users, subscriber changes, reconnects, rate limits, and duplicate events. Do not retain chat indefinitely without a clear purpose and moderation policy.
·1