Retrieving Client ID and Secret from Twitch
Before you can interact with chat in Twitch, you need to login to your Twitch account first. The same goes for ManaoBot. If the user has username and password, ManaoBot has client id and client secret. Here is step-by-step guide on how to retrieve your client id and secret.
1. Login to Twitch Developer Portal
Section titled “1. Login to Twitch Developer Portal”This process is simple, login to your preferred Twitch account at Twitch Developer Portal. This account will be the bot’s main account. It can be the same with broadcaster account.
2. Register Twitch App
Section titled “2. Register Twitch App”Visit register your application page. Here is where you can create your application to let your bot interact with Twitch. Fill in the form as follows:
- Name: You may use any name
- OAuth Redirect URLs: Fill
http://localhost:3000exactly like this. (httpnothttps, and no/symbol at the end) - Category: Pick
Chat bot - Client type: Choose
Confidential
Then click the “create” button at the bottom end at the page. If done correctly, you will be redirected to Developer Applications page and your application name listed.
3. Retrieving Client ID and Secret
Section titled “3. Retrieving Client ID and Secret”If you see your application name listed in the Developer Applications page, click the “Manage” button. After that, scroll down to the bottom of the page, you will see “Client ID” and “Client Secret”. After you press the “New Secret” button, make sure to keep it somewhere safe, since you cannot view your secret anymore.