Thank you for providing that! Is there a way of getting or making a custom API for viewers list rather than using the Get chatters endpoint? I don’t think the streamer I’m trying to help would want to go through like tokens and stuff. Like say for instance, you just want to have a command that’s like “user gave ‘random user’ a hug,” is there a way to randomize a viewer list or create a viewer list where we wouldn’t need the get chatters or tokens? Again, I really appreciate you helping me.
I would (like to) assume the channel is running a custom bot.
If so then the custom bot just needs a new oAuth token with the required scopes
And the bot can call the endpoint natively rather than via a urlfetch scenario
The use of urlfetch however sounds like nightbot.
if this is the case then yes you will need to
as it’s required
There never was and continues to not be a way to get viewers.
The dead endpoint was chatters and the new endpoint is chatters.
If you want to grab viewers to
Then you probably want to run an !entry type command to collect people that actually want to play and then pick two people from the entries.
Alternatively this would be a good fit for an extension and take it out of chat altogether
This doesn’t seem to use a token, since theres no sign up flow, and I don’t think you are a mod in every channel and thus is might be in violation of the developer agreement. Since I can’t think of any way this can function without prior permission from the streamer(s).
Or you are collecting and storing a bunch of random data for no reason from a pile of channels.
This seems suspicious, or doesn’t actually pull a viewer/chatter from the chat requested. Or is just gonna break at somepoint due to calling something it shouldn’t