Skip to content

MeblIkea/WheelOfNamesTwitchObsIntegration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP!

How to make a Twitch Application, in order to use its API

Create a new application

  • Click + Register Your Application
  • Input a name for your application (such as "Wheel of Name integration", it doesn't really matter).
  • In OAuth Redirect URLs, you want to set "https://localhost", it's where you will be redirected when creating token, you want to keep your token private.
  • Category: Application Integration
  • Client Type: Confidential (because you are not supposed to share your access).
  • CREATE!!!

Get your (confidential) token

Download & Prepare the page

  • Get in Releases
  • Download the .zip
  • Extract it somewhere easy to find
  • Setup info.json:
    I know JSON is terrible for storing tokens, but can't think of another solution OBS Browser friendly (see comments of app.js)
    • Token: Put the token you generated above.
    • Username: Set your channel username (with which you made the Twitch Dev Application).
    • Channel: The channel you want to link the wheel to (only the broadcaster can use commands on the wheel).
  • Test the page in your browser to see if it works.

Embed in OBS

  • Open OBS
  • Create a new Source -> Browser (if you don't have it, most likely missing a plugin. ->Check online<-)
  • Check Local File
  • Get where you downloaded the release and select index.html
  • Set a decent Height and Width (you can reduce its scale later on in OBS like a normal source).

Congrats

You now have a wheel in OBS, linked to your Twitch chat.

Commands

Command Description Permissions
!enter People enter the wheel Any Chatter. One entry only!
!spin Spin the wheel! Broadcaster
!clear Clear the wheel (/entries) Broadcaster

About

Integration for Wheel of Names in OBS controlled by Twitch.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors