Twitter Bot


How to get API Keys and Tokens for Twitter

In order for you to get the Twitter feed working you need four keys;
the Consumer Key, Consumer Secret, Access Token and Access Token Secret.
Below are the steps to get those 4 keys.

  1. Go to and log in, if necessary.
  2. Enter your desired Application Name,
    Description and your website address making sure to enter the full address including the http://.
    You can leave the callback URL empty.
  3. Accept the TOS and submit the form by clicking the Create your Twitter Application.
  4. After creating your Twitter Application click on the tab that says Keys and Access Tokens,
    then you have to give access to your Twitter Account to use this Application.
    To do this, click the Create my Access Token button (permissions: read and write).

Lastly copy the Consumer key (API key), Consumer Secret, Access Token and Access Token Secret
into this page.

That’s it, you’re all done! Test, please.

* This RailsApp retweets all Tweets containing your hashtags.
** Do not forget, this is a demo. The number of retweets is limited.