Get channel ID for API requests

Hello,

I need to get quantity of followers of my channel. I have got Cliend ID, it works ok, also looks like https://api.twitch.tv/kraken/channels//follows will do what I need. The problem is that I have no idea, where to get channel ID.

I have tried https://api.twitch.tv/kraken/channel?client_id=xxx hoping I will get channel ID there, but it returns just some set of bytes I can’t understand.

I have tried https://api.twitch.tv/kraken/users?login=xxx&client_id=yyy, but that looks like doesn’t work any more. All other ways, I could found, require channel ID.

I have just registered, so I think some part of old API is not available for me.

How can I get channed ID or decode data received from https://api.twitch.tv/kraken/channel?

https://api.twitch.tv/kraken/users?login=USERNAME

or

a call to

https://api.twitch.tv/kraken/

with a valid oAuth header returns the username and ID of the token passed, if you have authed.

1 Like

First doesn’t work for me, most likely that’s because I have just registered and some deprecated features are not available for me, but https://api.twitch.tv/kraken/ works fine, thanks a lot.

I have already found chrome extension to do that: https://chrome.google.com/webstore/detail/twitch-username-and-user/laonpoebfalkjijglbjbnkfndibbcoon/related

What deprecated features?

I’ve not linked to any.

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