PhantomBot PhantomBot

PhantomBot OAuth Setup


This page will setup the bot to automatically refresh the Bot's OAuth tokens. Please follow all instructions below to set this up properly.
  1. Create a new Twitch Application, if not already created
    1. Go to Twitch Developer Portal and login
    2. Click Your Console in the top-right corner
    3. Click the Applications tab
    4. Click Register Your Application
    5. In the Name box, put the name of your bot, or another name that will be recognized
    6. In the OAuth Redirect URLs box, put
    7. In the Category drop-down, select Chat Bot
    8. Click Create
  2. Open the Manage page for your new Twitch Application, if not already open
    1. Go to Twitch Developer Portal and login
    2. Click Your Console in the top-right corner
    3. Click the Applications tab
    4. Click Manage next to the appropriate application
  3. Enter the Client ID here:
  4. Get the Client Secret
    1. Click New Secret
    2. Click OK when prompted to generate a new secret
    3. Enter the Client Secret here:
    4. NOTE: You already have a secret saved, it is hidden for security reasons. If you do not need to update the secret, skip ahead to the authorize buttons
  5. Click here to save the Client ID and Client Secret:
  6. Re-authorize the bot and broadcaster using the buttons below
  7. (Optional) If the broadcaster is a different person and prefers to do the broadcaster authorization themselves
    1. Go back to the Twitch Developer Portal and login
    2. Click Your Console in the top-right corner
    3. Click the Applications tab
    4. Click Manage next to the appropriate application
    5. Next to the existing OAuth Redirect URLs box, click the Add button
    6. Put this URL into the new blank box that appeared
    7. Click Save
    8. Click here to generate a broadcaster password for this page:
    9. Have the broadcaster visit this link
    10. Give the broadcaster this username and this password
    11. After the broadcaster logs in, they just have to click the Connect With Twitch Broadcaster button and authorize it
  8. Once both OAuths have been successfully re-authorized, restart the bot


Clicking one of the
Connect with Twitch
buttons below will have you be redirected to Twitch.TV to authorize the bot to make requests on your behalf.
  • Connect with Twitch Bot
    - make sure before you click the button that you are logged into your bot's Twitch account, if not, click the
    "Not you?"
    at the top of the Twitch page.
  • Connect with Twitch Broadcaster
    - make sure before you click the button that you are logged into the Twitch broadcaster account, if not, click the
    "Not you?"
    at the top of the Twitch page.


The following permissions are requested for the
bot's
Twitch account (Twitch will display this list too. For more info check this):


The following permissions are requested for the
broadcaster's
Twitch account (Twitch will display this list too. For more info check this):


Connect with Twitch Bot   Connect with Twitch Broadcaster
Copyright © 2016 - PhantomBot