HALLOWEEN WEEKEND SALE

Use coupon code HALLOWEEN to get 35% discount on all products!

How to Create a Twitter API Key

In order to use the Twitter API Key to pull tweets and other information from your Twitter profile or other sources in the Twittersphere, you’ll need to create a Twitter Application through your account. It may seem super-technical, but it’s actually very simple to do.

twitter-logo

How to Create a Twitter Application

The first thing you need to do to get your Twitter API key is to create a Twitter application through their site. Visit dev.twitter.com/apps and login to your Twitter account. Then, just fill out the basic information for the application and it’s ready to be published.

Screen Shot 2014-01-29 at 3.50.05 PM

Name – This field will be the display name of your application and will be used during user authentication. It will be checked against all other Twitter applications, so make sure to use a unique name.

Description – Write a short description on what you intend to do with the application.

Website – Fill in the full URL (including http://www) of the website you intend to either use the application or make it available for public download.

Callback URL – If you intend to return your users to a specific URL after authentication, specify it here. In basic cases like WordPress widget integration, this field can be left blank.

Read and agree to the Developer Rules of the Road, enter the Captcha phrase, and create! You’re now done creating your application, that wasn’t so hard was it?

Application Information

Now that you’ve created your application, Twitter has assigned you a few data points to work with.

oAuth-Settings

You must create a personal Access Token and Secret key to allow you to unlock personal account functions with your application – just click ‘Create Access Token’ and Twitter will add these data points as well.

If your application requires additional functionality, you can increase the default Access Level from Read-only to Read-Write or even Read-Write-DirectMessage. If you’re creating an application that only needs to pull tweets, Read-only is all you need.

In basic cases like WordPress widget integration, all you’ll likely need are the Consumer Key & Secret with the Access Token & Secret. These API keys let Twitter know that you’re a registered Twitter user that has a certain level of access to their API, so keep these keys secret.

Now you’re all set to create your Twitter Application in order to get your API Keys. What will you build?

Comments (5)

  1. Zain Tahir Permalink Reply

    Great work indeed! I like the work done by author, keep it up.
    This is word exactly come out from my mouth when I saw this Article.

  2. Alexandra Nicola Permalink Reply

    A clear explanation of how to get it done. You did a good job with this article. Thanks for the help.

  3. Olivia Permalink Reply

    Thanks for sharing the valuable information. I got cleared my error of creating twitter API key

    • Charlie Patel Permalink Reply

      Happy to hear Olivia. All the best.

Leave a Reply

LATEST THEMES