[AIO] How to add Twitter Token?

In this Tutorial...

Will show you how to add the Twitter token inside the Bot.

Here we Go!

  1. Visit the Twitter Developers’ Site

    The first thing you need to do is to head down to dev.twitter.com. In order to create an account, all you need to do is click on the “Sign In” link at the top right.

  2. Sign in with your Twitter Account. Next, you want to associate with your app. You do have a Twitter account, don’t you?!

  3. Go to apps.twitter.com (It can also be found by clicking “manage your apps” in the footer of the Twitter Developers site)

  4. Click on Create a New Application


    Before you start Filling in your Application Details, You must add your mobile phone to your Twitter profile before creating an application. Please click here know how to add your mobile number to your account via the web.

    It’s been easy so far, but this screen often makes people confused. Don’t worry, it’s a lot easier than you think.

    • Name:
      First of all, you need to give your app a unique name (One that no one else has used for their Twitter app). Since we’re going to create an app for personal use and not one that other people can access it, just put your domain name in or perhaps even your name.

    • Description:
      You don’t have to worry much about the description- you can change this later, but it can help to distinguish this app from others that you might create in the future. I’ve put "a set of Twitter tools for personal use".

    • Website:
      In this section it doesn't matter, just put any website. you are not going to use it. for example, you can put https://placeholder.com 

    • Callback URL:
       Leave this section empty.

    Once you’ve done this, make sure you’ve read the “Developer Rules Of The Road” blurb, check the “Yes, I agree” box, fill in the Captcha and click the "create your Twitter Application" button. Hurrah!


  5. Create Your Access Token, you’ll then be presented with lots of information, but we’re not quite done yet. We now need to authorise the Twitter app for your Twitter account. To do this, click the “Create my access token” button. This takes a few seconds, so if you don’t see the access tokens on the next screen, you may have to refresh the page a few times.

    This access token will allow your Twitter application to read Twitter information. You’ll be able to get data of your tweets, mentions, lists and more. However, if you want to do more advanced stuff like sending tweets or deleting, you’ll need to change your access type.

  6. Choose what Access Type you need, choose read-only.

  7. Make a note of your OAuth Settings. You will need these long horrible strings of characters for your Twitter app. The ones you will need are:
    • Consumer Key

    • Consumer Secret

    • OAuth Access Token

    • OAuth Access Token Secret.

    To view the Consumer Key (API KEY) and Consumer Secret (API Secret), go to the Keys and Access Tokens tab.

    Now, to view the OAuth Access Token and OAuth Access Token Secret in the same tab, scroll down in the page and click on Create My Access Token button.

  8. Now we have to paste Consumer Key, Consumer Secret, Access Token, Access Token Secret into AIO. Open the bot, go to Configure -> Settings -> Twitter Settings.

      • Copy the Consumer Key from the website and paste it into API Key in AIO

      • Copy the Consumer Secret from the website and paste it into API Secret

      • Copy the Access Token from the website and paste into Access Token in AIO

      • Copy the Access Secret from the website and paste it into Access Secret in the Bot.

  9. Now, this is the last step. In the Twitter Settings tab, you can see the Twitter Accounts To monitor section, remove the nikestore and enter the following twitter accounts. Please separate them with ","  and don't use "@"  and enter these following twitter accounts: "Eastbay,footlocker,footaction,champssports".

    Click save settings and restart the bot. After restarting the bot, you will notice in the log section it will recognise your twitter account and it will start twitter monitoring thread for the twitter account. 

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request



Please sign in to leave a comment.