I’m trying to listen to some topic using the Twitch API but when I send a web socket request to server(wss://pubsub-edge.twitch.tv) and using this (“topics”: [whispers.${id}]) a get a response like that {“type”:“RESPONSE”,“error”:“Server Error”,“nonce”:“WyrvWclEkWsUTk4”}
Yes. I know it’s in the documentation, but I just tried everything and I’m still getting the same error. Could you help me If show you the code ? thanks
Thank you. Let me reformulate my question. Is it possible to listen to all events from a given streamer ? For example, I have a input text where I put some name e.g (patty) and then I open a wss to listen to all events that occur in patty’s channel.
You would have to listen each topic you want to listen on in the topics there is not a “single” topic you can listen on, that delivers everything, additionally not “everything” is available on PubSub.
So yes, but you’d have to call more than one topic in the listen send. Or send multiple listen messages
A better question is what “events” are you after, as not all “events” (or what I would class as an event I need to consume for my streamers) is available via PubSub.