I’m writing my first Twitch app in Flask and I could use a few pointers. I’m currently trying to write an app to get the subscriber list for users that connect to a website that I will be hosting. I am sending this string to authorize users on the website:
Any idea? Maybe its the way Flask is handling the HTTP requests? I’m certainly grabbing that code from the return URL and passing it into the post request. I tried to disconnect and reconnect my application as well.
EDIT: Fixed, this was happening because the post request needs to get sent after the GET request finishes. Have to learn Flask a little bit more to learn how to handle the data correctly. Thanks a bunch for your help.
Step 1 of oAuth is to REDIRECT the user off site to review the security dialog
Step 2 is capture the code from the incoming HTTP GET
Step 3 is the code for token POST dance
Please revoke this secret, you just leaked your Client Secret in violation of the Dev TOS