Hm… I think I understand it more. So For redirect URL should i just use (http://localhost)? When I use that, it gives me an auth token in the address bar. I am able to use https://api.twitch.tv/kraken?oauth_token= to get the user data. I’m just not sure if localhost is the right thing to use here. In my application, I would open a webview and then close it right after the user authorizes it. Also, I’m included user_subscriptions and user_follows_edit in the scope but I’m unable to get a list of the user’s channel that he or she is following and his or her subscriptions.
{“follows”:[],"_total":0,"_links":{“self”:“https://api.twitch.tv/kraken/channels/aksynial/follows?direction=DESC&limit=25&offset=0",“next”:"https://api.twitch.tv/kraken/channels/aksynial/follows?direction=DESC&limit=25&offset=25”}}
but I know this user has more than one channel that he is following.
Also, when I access the subscription link, https://api.twitch.tv/kraken/channels/aksynial/subscriptions, I get an error saying {“error”:“Unauthorized”,“status”:401,“message”:“Token invalid or missing required scope”} although I did put user_subscriptions in the scope. Am I supposed to add oauthtoken= at the end of the link?