Fetch data from user

I would like to fetch some data from users via https://api.twitch.tv/kraken/oauth2/authorize?response_type=code&client_id=wds8du7dz7ub3l76bx4bbjrrkuldng&redirect_uri=http://localhost/twitchapp/index.php&scope=user+channel_check_subscription+user_subscriptions+client_id_read - this to put in a database. That my game overlay then can use to give sertent useres something extra in the game. Can someone help me with this?

So to summarise. I Want to have a link on my twitch page that my followers can click on to give me permission to fetch data like username, if the subscribe and for how much each month. I then want to fetch this data to a database that my game can the cross look on to give me followers something extra in the game.

I’m not quite sure what your question is, but your first scope ‘user’ is not a valid scope. Did you mean to use ‘user_read’?

Most information is public and only requires a client_id to request it. Subscription information is private, but if it’s on your twitch page and they are your subscribers your oauth token will already have permission to view your subscriber information. There is no need to grab permission from each user individually.

Oh okay! So how can I fetch these data to a database the easyiest way?

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