I am trying to create a simple extension, basically a panel, with a button, when pressed a message is spammed to the chat ( let’s say the broadcaster will be the user)
I understand that to send a message Sending and Receiving Chat Messages | Twitch Developers you have to use a “Implicit grant flowâ€, this is like a form.
So, to get the token from here if I want to use it in a extension, I made it so that the config.html is where the streamer gets access to the token, so basically in the config.html I add :
<a href="https://id.twitch.tv/oauth2/authorize?[parameters]">Connect with Twitch</a>
parameters being the ones I give it, this works in my localhost testing it out, I get the form, and then the token, but if I want to use this is in the config.html to save the token I get :
Maybe there is another approach?
Thank you
15 posts - 4 participants