- display followed channels
- search channels
- view channel videos
- view channel clips
-
Twitch Client ID - all Twitch integrations require you to register your app with Twitch:
- Log in to the developer console using your Twitch account.
- Select the Applications tab on the developer console and then click Register Your Application.
- Set Name to any name you’d like, it just needs to be unique amongst all Twitch applications.
- Set OAuth Redirect URLs to http://localhost:3000.
- Choose any Category of application that you’d like.
- Capture your Client ID, which you’ll use in the next step to get an OAuth token.
-
OAuth token - twitch APIs require access tokens to access resources:
- Create a simple http server (for exmaple:
python -m SimpleHTTPServer 3000
orpython3 -m http.server 3000
). - Replace with your client ID and follow the link:
https://id.twitch.tv/oauth2/authorize?response_type=token&client_id={{ client_id }}&redirect_uri=http://localhost:3000&scope=user%3Aread%3Afollows
. - After authorizing your application by clicking Authorize, the server sends the access token to your redirect URI in the fragment portion of the URI (see the access_token parameter).
- Create a simple http server (for exmaple:
or just use one of the web services - twitchtokengenerator
This project is licensed under the MIT License