Company
Date Published
Author
Aydrian Howard
Word count
1464
Language
English
Hacker News points
None

Summary

Twitch has introduced EventSub as a transport-neutral solution to handle real-time events, replacing its existing PubSub and Webhook APIs. To accept real-time events from Twitch, developers need to create a callback URL using Express.js, which will log the request and return a 200 status response to confirm receipt. The application must also verify the signature of the incoming request to prevent tampering. With these steps complete, developers can now receive real-time events from Twitch and prepare for the next part of the tutorial, where they will create subscriptions to the stream.online event and use Courier to design and send notifications to multiple destinations.