API URL error 404 - page not found
Step 1 says to use the URL https://id.twitch.tv/oauth2/token to get the access token. I am getting error 404 "page not found". Did Twitch API developers break something in the decommissioning of V5?
-
This URL will return a 404 if you submit a GET request rather than a POST. For example, you could do the following request with curl on a Mac for the client credentials authentication flow (https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/#oauth-client-credentials-flow).
curl -X POST "https://id.twitch.tv/oauth2/token?client_id=<id>&client_secret=<secret>&grant_type=client_credentials&scope=channel:read:goals"
If you need further assistance, please feel free to post in the forums or join the TwitchDev Discord server.
https://discuss.dev.twitch.tv
https://link.twitch.tv/devchat