I make a post request:
url = ‘https://api.twitch.tv/kraken/oauth2/token’
‘–data-urlencode’
‘?grant_type=refresh_token’
‘&refresh_token=’ + str(refresh_token) + ‘&client_id=’ + ‘’ + ‘&client_secret=’ + ‘’
res = requests.post(url).text
But in return comes this:
{“error”:“Not Found”,“status”:404,“message”:null}
What have I done wrong?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.