I use to use the endpoint https://api.twitch.tv/kraken/channels
to get channel info, but now it seems the only way to get relevant info is with https://api.twitch.tv/helix/users
, and that doesn’t work for me due it to it requiring an OAuth token. Is there something I’m missing?
As per the docs, you need to supply either an OAuth token, an id
param, or a login
param.
https://dev.twitch.tv/docs/api/reference/#get-users
The scope/oAuth is optional!
Specify a ID or a login and it will return.
if you specify the oAuth it’ll return the user for that oAuth token.
So a call to
Requires a token
But a call to
Does not
1 Like
Awesome, thank you! I was confused by the docs
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.