Skip to content

xurei/node-red-contrib-twitch-eventsub

Repository files navigation

node-red-contrib-twitch-eventsub

Connects to Twitch Eventsub with the help of Twurple.

Features

  • Listening to events from Twitch : follow, sub, subgift, cheer, reward redeem, and raid.

Setup

  1. Add the "Twitch Eventsub" node in your flow, create the configuration with the fields.

  2. Get your twitch user ID and put the value in the Twitch Broadcaster ID field.

  3. If you don't have one yet, create a twitch application here: https://dev.twitch.tv/console.

    • Get the Client ID and the Secret Client and put these values in Twitch Client ID and Twitch Client Secret fields.
  4. Generate a refresh token using https://twitchtokengenerator.com/ or any other tool. Put it in the Twitch Refresh Token field.

  5. Save, deploy. Try and redeem a reward of the channel you just configured. You should get a message for each redeem you make.

    • You can also follow, subscribe, cheer the channel, and you should see the matching message being sent by the Eventsub node.

Happy Streaming !