Get acess to all the subscribers of my channel

I am using the Twitch API to get my subsribers but the response is always {“error”:“Unauthorized”,“status”:401,“message”:“Token invalid or missing required scope”}

I call it by using
https://api.twitch.tv/kraken/channels/killerswat/subscriptions?oauth_token=myoauthtoken&scope=channel_subscriptions

You need add your application to Twitch and make a request with your client_id requesting the channel_subscriptions scope. The user will authorize your application and we’ll pass back an OAuth token that you can use to call the endpoint. See documentation here: https://github.com/justintv/Twitch-API/blob/master/authentication.md#implicit-grant-flow

1 Like

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