Hi. Channel_id is equal to User_id so what you need to do is make a request to
“https://api.twitch.tv/kraken/users?login=” + channel_name
with your Client_id from your registered application in the header.
Then, parse the json data returned and check for [‘users’][0][’_id’].
Check this for more.