I am developing a website using the tag. Is it possible to integrate a twitch chat bot inside of a script tag? (either by putting the code inside or by calling a .js file.) Any help would be grateful.
Theoretically yes.
Is it a good idea, probably not. It’s fine for anonomous access to Twitch Chat, but if you intend to login to send messages it is a concern as you will/could leak your private token for login to chat.
Thanks for the fast reply! I did not think of that. If it works I may just have it not send messages.
As long as it’s basically read only then you won’t have a “leak”
Then you are basically reimplimenting Twitch Chat iframe embed in your own code. So it’s just a websocket connection and a parser. Pretty straight forward
This topic was automatically closed after 30 days. New replies are no longer allowed.