I need token for channel-bits-events-v1 topic.
But, I don’t know how to get token.
Can I get the token using code like below?
—OAuth Authorization Code Flow—
GET https://id.twitch.tv/oauth2/authorize
?client_id=
&redirect_uri=
&response_type=code
&scope=
There are several methods to obtain a token, which one you use is up to you and depends on your use case. Also keep in mind that you need a token of the channel you wish to receive events from. So if it’s your channel you can go through the auth process yourself, if it’s for a channel belonging to someone else then they will need to go through your authentication process.