TwitchLib / TwitchLib.PubSub

PubSub component of TwitchLib.
38 stars 52 forks source link

Uses undocumented #106

Closed da66en closed 1 year ago

da66en commented 1 year ago

PubSub ListenToFollows() does a LISTEN to $"following.{channelId}", but when I look at the PubSub list of topics this isn't shown as a topic.

https://dev.twitch.tv/docs/pubsub#topics

Am I missing something? It seems like PubSub LISTENS to quite a few topics that aren't documented.

Syzuna commented 1 year ago

yes Pubsub still has a lot of legacy undocumented topics (avoid them if possible) that are in the library since forever basically before EventSub was a thing and we didnt want to remove them just yet before EventSub got its Websocket Transport and leave users without an equivalent to use.

da66en commented 1 year ago

Darn. Using the EventSub webhooks doesn't seem feasible in my situation. Is that the only way to use EventSub, or is another method being developed?

Syzuna commented 1 year ago

EventSub will get a Websocket Transport yes. They said in the last Dev Stream that an open beta for that will be SoonTM

da66en commented 1 year ago

Ok, that's great to hear. I guess I'll wait until "soon".

In the meantime, maybe add some kind of warning on those PubSub listen functions that aren't documented?

Going to close this now since this isn't an issue with TwitchLib