Greetings! Just started writing my own Twitch tool two nights ago.
Got OAuth2 working and IRC Chat working.
Working on Emotes.
I can get MY user’s emotes via
I can get the Global emotes via
Which has given me ability to show the emotes in 4x, 2x, and 1x views and animated GIF’s ect ect…
But I face some problems I’d like to solve and not quite seeing what I hope in the API docs.
1st problem
When I connect to an IRC room, Mine in this case, when other people join my stream, and use their emotes of all kinds from all places around, how do I get those emotes?
In the IRC chat I just see “:agoodjaredBwah” in this case … How do I translate that to an actual image file?
Which in this case I know the URL https://static-cdn.jtvnw.net/emoticons/v2/307791205/default/light/1.0
But I got that from the browser chat.
In the IRC chat, don’t know such things, none of that info carries over to IRC.
2nd Problem - For my Logged in user, mine in this case, is there A good way for me to get all the emotes for the streamers I follow and/or subscribe to and the others ? Not sure how I get “my” list of people I follow and/or subscribe to. As I assume, have to get their boradcaster_id each , then grab all the emotes lists one by one? If so, seems like a lot of work/traffic that could be reduce to one call.
3rd Problem Emote set names?
When I grab the global emotes, I don’t know what their group name is? So I can’t really cluster them together. The JSON does’nt tell me more than an ID number and Name. But not who/what they group under as ? I have TwitchHypeTrain, Hindsight2020Emotes, and a ton more… How do I know about these and get them too for my account? These are not coming over with what I am calling right now, and can’t really find in the doc how to know they exist to get them?
Sorry for the rambling. Been looking at the API docs for two days and getting dizzy. Not the greatest but no the worst i’ve dealt with before.