I want my code to be notified when someone hosts a specific channel. Does someone know how to do that?
There is no websocket for that in PubSub https://dev.twitch.tv/docs/pubsub/#subscribing-to-topics
and no webhook on that topic https://dev.twitch.tv/docs/api/webhooks-reference/
The only way I see is to connect to the chat with the broadcaster account. Isn’t there any other way? How does streamlabs do it?
Ok nevermind I found this similar question here Hosted notification
There are no official end points
There are a couple of unofficially bits
And the main way it’s currently done is to login to chat as the broadcaster, and read the relevant (user)notice over IRC
Edit: which is a log easier now we have a
chat read only scope to play with…
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.