Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 555 Bytes

File metadata and controls

19 lines (19 loc) · 555 Bytes

Twitch API Proxy:

(based of the fcc Twitch Proxy)

60 DAY RESET:

Twitch API uses OAuth2 tokens which have a default expiration time of 60 days.

short story, make sure twitch cli is installed on your system then type...

twitch token

It will ask for Id and client. see your twitch environment variables for those.

TO RUN LOCALLY

Run this code under pm2 (https://github.com/Unitech/pm2)

so the script can be ran against it

$ pm2 start server.js