Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xureilab/node-red-twitch-eventsub

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xureilab/node-red-twitch-eventsub

Connect to Twitch EventSub API

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-twitch-eventsub

Connects to Twitch Eventsub with the help of Twurple.

Listens to chat messages, follows, subs, subgifts, cheers, reward redeems, raids, and more !

Features

  • Provides a node that will listen to all the Websocket events that Twitch provides

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.

    • See also the Authorization code grant flow from Twitch documentation.
    • You need all these scopes to subscribe to all the available events:
      • bits:read
      • channel:moderate
      • channel:read:ads
      • channel:read:charity
      • channel:read:goals
      • channel:read:guest_star
      • channel:read:hype_train
      • channel:read:polls
      • channel:read:predictions
      • channel:read:redemptions
      • channel:read:subscriptions
      • channel:read:vips
      • chat:read
      • moderation:read
      • moderator:manage:blocked_terms
      • moderator:manage:chat_messages
      • moderator:manage:unban_requests
      • moderator:read:automod_settings
      • moderator:read:blocked_terms
      • moderator:read:chat_settings
      • moderator:read:followers
      • moderator:read:guest_star
      • moderator:read:shield_mode
      • moderator:read:shoutouts
      • moderator:read:suspicious_users
      • moderator:read:unban_requests
      • user:read:chat
  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 !

Keywords

FAQs

Package last updated on 21 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc