I don’t know if i’m the good category. I’m sorry for my english, i’m french developper.
I developed a Twitch bot that connects to the WebService Pub / Sub. At the authentication level, it is indicated in the documentation that we must use the Oauth Flow to obtain a token access.
On the one hand I was very surprised that it is necessary to obtain an access_token of the concerned Twitch channel directly when one wants for example to listen to the events of moderation while I am, with my account, moderator of the channel in question.
So I had to ask the owner of the channel to fill out an online form which generated an access_token that he sent me.
I would have used the server to server method to get access_token since I have client_id and client_secret but the key obtained did not allow me to use the Pub / Sub service.
So my question is as follows: Do we have to use a “user access tokens” type key to access the Pub / Sub service.
I find this a shame because I usually work with “app access tokens” to query the classic API (New Twitch API).