-
I am trying to create a python script that creates a poll in my twitch channel and after it is done it should print the results. However I can't even get the first step to work, which is creating a poll. The code below is what I have right now. (sensitive data censored with #########)
After running this it prints this:
and then gives me the error:
I can't find anything about how to change authorization in the documentation or anyone online with the same problem. However I can't find anything about changing scope in my twitch dev console. Does anyone know how to tackle this? or if I'm tackling this process of creating a poll completely wrong? Kind regards and thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
SOLVED! Twitchio works with something called scopes for their tokens so if your token doesnt have the correct scopes (authorizations) its of course not going to allow you to do something. Its an added level of security. To get a token with the right authorizations check: twitchtokengenerator.com for a custom scope token :) |
Beta Was this translation helpful? Give feedback.
SOLVED!
Twitchio works with something called scopes for their tokens so if your token doesnt have the correct scopes (authorizations) its of course not going to allow you to do something.
Its an added level of security.
To get a token with the right authorizations check: twitchtokengenerator.com for a custom scope token :)