"Content" extension for twitch

A Twitch extension is just a Website.

So you need

  • a html file, which includes the JS Helper
  • a script file, that includes onAuthorised
  • a css file if you wast any CSS

That’s it.

You may then provide addition HTML/JS/CSS to power other views/integration slots, or only have one view

Not sure what this JSON file is that you refer to, can you link to one that you are looking at?

This example: twitch_profile_extension/extension at main · BarryCarlyon/twitch_profile_extension · GitHub

Provides only a single view.

  • index.html provides the HTML Structure and loads the JS Helper nad my JS
  • script.js provides the control logic and onAuthorised calls
  • style.css provides the theme/CSS

(config.js is just to avoid committing a “real URL” to the repository for this example’s backend/EBS)

The other files in this repo/example proivides the EBS or backend server for the Extension in order to make calls to the Twitch API

1 Like