falln-away
v1.0.5
Published
Twitch API Wrapper & Authorizer - all in one package, and handled for you!
Downloads
13
Maintainers
Readme
HOW TO USE
- Make an app here
- Copy the client id and client secret in
config.json
, and set up its values found inconfig-sample.json
- Visit the
Quick Access Token
link below, and fill inacces_token
inconfig.json
, leaverefresh_token
blank - it will be updated when you authorize successfully - Set the
port
to any number higher than1024
, for reasons, however, if you have a domain set up, you will want to enable theport_exposed
property, so it will be included in the redirect URI - Set the OAuth Redirect URI to
http://localhost:443/auth/twitch/callback
if locally testing, otherwise, use your IP or domain instead of localhost - Run
examples/index.js
- Visit
http://localhost:443/auth/twitch
to authorize