Closed JochenFromm closed 3 months ago
Had the same problem, some time ago. If i remember correctly i read somewhere, that PubSub is being deprecated (could not find a source)... I switched to EventSub Websocket, which provides roughly the same functionality, but slightly different.
@Braastos Here is the announcement for the PubSub shutdown in early 2025: https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Thanks. This means if I want to fetch comments from a Twitch live stream then I need to switch to "EventSub Websocket" (is it possible without costly subscription to the channel ? the example in the file gives an "EventSubSubscriptionError: subscription missing proper authorization") or an IRC chat bot ?
The IRC script from this page works. Thank you for support! Closing this issue then.
I am trying to read chat comments/cheers from a Twitch live steam by using the example code from the Readme (only for bits instead of whispers)...
...but the "listen_bits" function always returns a
TwitchAuthorizationException
which indicates that the token is not valid. If I investigate the token then it seems to be valid.What is missing?