![]() First, create a new folder and initialize it with a package.json file. ![]() We'll start by creating an Express application with minimal features. Alternatively, you can use a tool like Glitch to build and host your application. If you are working locally, you can use ngrok to expose your local endpoint. We'll be creating a Node.js application that needs to be accessible externally. Create interactivity with your viewers through our powerful integrations with Twitch. To complete this tutorial, you'll need a couple things: Build the best stream possible, with no need to write your own code. Let's start by creating a Node.js application and use Express to expose a POST route that Twitch EventSub can communicate with. EventSub is a transport-neutral solution that will eventually replace their existing PubSub and Webhook APIs. Have questions about sending notifications using Twitch EventSub and Courier? Join our new community on Discord – we're happy to help! How to handle real-time events from Twitchĭuring last year's Twitch Developer Day, Twitch introduced EventSub as a single product to handle real-time events. Part three: Finally, we'll create a list of subscribers and use Courier to notify the entire list across multiple destinations with one API call. ![]() Then, we’ll use Courier to create and design our notifications.
0 Comments
Leave a Reply. |