Chat bot change stream info?
Trying to log a chat bot in, it tells me I need chat_login
scope, but the scopes page doesn't show it and the api also returns a 400 when I try to pass chat_login
. There's really no detail anywhere on how to get a bot to log in except when using the twitchapps.com/tmi generated token. How do we generate this token ourselves? Can we?
Trying to figure out how to get my bot to be able to modify the streamer channel info (game name, title, etc) but it seems like I need multiple different auth tokens? This is very poorly documented and I'm running in circles here.
-
The "chat_login" was replaced by more granular scopes in 2018 such as chat:read, chat:moderate, etc. You can find these here: https://dev.twitch.tv/docs/authentication/scopes#chat-and-pubsub-scopes. You do not need multiple access tokens, one token can have multiple scopes and an example of this can be seen in how to set up an implicit authentication flow: https://dev.twitch.tv/docs/authentication/getting-tokens-oauth#implicit-grant-flow. If you need further assistance, please join the forums at discuss.dev.twitch.tv or the Discord server at https://link.twitch.tv/devchat.