I did this:
POST https://id.twitch.tv/oauth2/token
?client_id=<your client ID>
&client_secret=<your client secret>
&grant_type=client_credentials
&scope=<space-separated list of scopes>
I filled in this client ID and the client secret from the value I obtain from the dev Dashboard. This is supposed to give me a json formatted data containing access token, so
what I do is to
Token = requests.post('https://id.twitch.tv/oauth2/token
?client_id=<your client ID>
&client_secret=<your client secret>
&grant_type=client_credentials
&scope=<space-separated list of scopes>').json()['access_token']
And this just gives me an error, because the response to this post is ‘404 error’
Can you let me know anything that I should do differently?
Thank you.