• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


21 Feb, 2025

Updated at 21 Mar, 2025

Block content in config extension

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

Read full topic