Hi, I’m using the official Twitch API (helix).
In particular I am using the request to obtain information “if the user is subscribed to a specific channel”.
There are two doubts
- Does the request return if the user is a subscriber (i.e. bought a subscription) to the token owner’s channel? Not the followers (who follow the channel), correct?
2)The second question is about the parameters to pass.
I had put as “broadcaster_id” the id of my channel and “user_id” the id of any user. But I get back an error saying that the token and the broadcaster_id must match. So I swapped the two parameters “broadcaster_id” and “user_id” and it returns me an answer (still to be tested if it is true). Shouldn’t the parameters be like the first time? I thought:
broadcaster_id = channel id (token owner)
user_id = id of a viewer anyone