OAuth for new Helix rules


Since we have to use a OAuth token for all API requests (after april), would I use my personal twitch accounts OAuth token or can I get one thats based on my developer application?


Depends what sort of request you are making to the API

The end point suggests which kind of token(s) and what scopes are required

I use this https://api.twitch.tv/helix/streams?USERNAME to get info if they are live or not.

Any valid token will work for that endpoint.

Oh ok. Would I use https://twitchapps.com/tokengen/ to get my token?

I wouldn’t as when the token dies you then have to manually go fetch a new one.

Authentication is covered here:

you can obtain a server to server token automatically, or a refreshable user access token, avoiding the needs for manual steps

Aight, thanks for the help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.