Skip to content

Twitch API Wrapper & Authorizer - all in one package, and handled for you!

License

Notifications You must be signed in to change notification settings

Lewdcario/Falln-Away

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HOW TO USE

  1. Make an app here
  2. Copy the client id and client secret in config.json, and set up its values found in config-sample.json
  3. Visit the Quick Access Token link below, and fill in access_token in config.json, leave refresh_token blank - it will be updated when you authorize successfully
  4. Set the port to any number higher than 1024, for reasons, however, if you have a domain set up, you will want to enable the port_exposed property, so it will be included in the redirect URI
  5. Set the OAuth Redirect URI to http://localhost:443/auth/twitch/callback if locally testing, otherwise, use your IP or domain instead of localhost
  6. Visit http://localhost:443/auth/twitch to authorize
  7. Add all of the desired channels to join in the channels array in config.json, but do not include # in the names
  8. Run examples/index.js

Some Helpful Links