is that possible to use other token than those from twitchtokengenerator.com ? #408
-
I created a token usinig the following code :
with the code given as example :
I simply can't get the code running, it seems the token doesn't have the proper right, but when using a token generated from twitchtokengenerator.com it works .... what scope am I missing ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I converted this to a discussion since it is not an issue with the library. You are generating an App Token, these do not use scopes. You need to generate a User Oauth Flow token which use scopes and are associated to a user. You should also be using aiohttp ideally as this is an async framework and requests is blocking.
|
Beta Was this translation helpful? Give feedback.
I converted this to a discussion since it is not an issue with the library.
You are generating an App Token, these do not use scopes. You need to generate a User Oauth Flow token which use scopes and are associated to a user.
https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/#authorization-code-grant-flow
You should also be using aiohttp ideally as this is an async framework and requests is blocking.