Jan 23

How to Create a Twitter Application

Twitter Feed plugin for WordPress

The following tutorial will guide you through the process if creating a Twitter Application and using its tokens with our Twitter Feed plugin for WordPress. Once you have created a Twitter application, you can use its tokens to allow Twitter Feed to make authenticated requests to the Twitter API.

Twitter Feed uses Twitter REST API 1.1 to interact with Twitter.com. Twitter’s API version 1.1 (as opposed to version 1.0) requires authentication in order to return data to the requesting server. To make an authenticated connection, one must create a Twitter app and use the app’s access tokens when making authenticated connections to Twitter.com

Do not share the generated tokens with anyone. If you do, they will be able to make authenticated requests to Twitter API on your behalf, using up the resources that Twitter allocated for you. Twitter Feed stores the tokens you provide on your local database and does not share it with anyone else.

Creating a Twitter Application

Navigate to Twitter Application Management and create a new application by clicking on “Create New App”

Create a new Twitter application

You will be prompt to enter your application information. The Callback URL is not required for the Twitter Feed plugin.

Twitter application details

After accepting the terms and creating the app, you will be redirected to the app’s settings page. Click “Keys and Access Tokens”.

Twitter app settings page

Click on “Create my access token” at the bottom of the screen, to authorize the plugin to make API calls.

Screen Shot 2015-02-18 at 2.33.21 PM

Copy the Consumer Key, Consumer Secret, Access Token and Access Token Secret.

Twitter keys and access tokensTwitter keys and access tokens

Paste the tokens in the Twitter Feed control panel, under the “Tokens” section. Click on “Save” at the bottom of the screen to save the changes.

Askupa Twitter Feed control panel

That’s it! Your plugin is now ready to communicate with Twitter.com.


Yoav Kadosh | January 23, 2014

Leave a Reply