Twitter App settings to access the API

Twitter App settings to access the API
Published: by
Last updated:
Website Development

One of the reasons why Twitter is so popular, and became what it is today, is due to its App integration abilities through API. This post will show how to create and setup a Twitter App to be able to use Twitter’s API.

Why would you need to do this?

Without going into too much details, the API (application programming interface) is the interface (I) between a programmed request (P) and Twitter (A). Twitter processes these requests through its Apps infrastructure. In other words, by using the correct information, requests can be send to Twitter through for example a programming language (e.g. Python) to post something and/or to send some data back. This request will be send to an App and the App will process the request.

Various programming platforms can be used for the programming side of the Twitter API which does not fall into the scope of this post. Twitter App settings to access the API will however show how to create and set up a Twitter App and how to obtain the correct information to be able to send requests to it.


A Twitter App is not actually an App per se, but basically a bunch of settings to obtain the required information to use Twitter’s API.

In order to create a Twitter App, a mobile phone needs to be added to the Twitter profile. See this link for more information.

Multiple Apps can be created per Twitter account.

Creating an App on Twitter

Start off by logging into the Twitter account the App is to be created for. Multiple Apps can be created per Twitter account.

Create a new Twitter Ppp

Next, open the Twitter Application Manager. Click on the Create New App button and complete only the required fields (i.e. leave the Callback URL empty) and click on the Create your Twitter Application button.

As is the case with some other social media App Managers, the Name of the App does not show up anywhere on the Tweet.

Twitter App configuration

After seeing “Your application has been created. Please take a moment to review and adjust your application’s settings” do the following:

By default, all App’s access levels are read-only. To post to Twitter, write permissions will be required. Go to the Permissions tab and choose Read and Write access before clicking on the Update Settings button. The permission settings may take a moment to reflect.

Access tokens and keys are needed to access a Twitter account without having to supply usernames and passwords. Go to the Keys and Access Tokens tab. At the bottom, under Your Access Token there will be no authorised applications for the account yet. Click Create my access token. An access token will be generated. It will be assigned to the application’s current permission level and should be updated each time the permission has been changed.

After the access token has been created all the following strings will be available:

  • Consumer Key (API Key)
  • Consumer Secret (API Secret)
  • Access Token
  • Access Token Secret
About the author
Renier busies himself with improving his English writing, creative web design and his websites, photoshopping, micro-electronics, multiple genres of music, superhero movies and badass series.
Behind the Scenes is a free, informative website. If you find value in any of our content, please consider making a donation to our cause.
Donate via PayPal

Save, share & Disqus

Use the buttons below, on the left or the bottom of this page to share this post. Your comment is important, but don't be a knob. Keep it constructive and polite.

Comment via Disqus

Disqus is a worldwide comment hosting service for web sites and online communities. This secure platform ensures a pleasant commenting environment which is manageable from one account. Use the Login button to sign up.

More social media related posts

Improve your skills through Skillshare – get first 2 months for free
Improve your skills through Skillshare – get first 2 months for free
7 July 2020
Ad: Join the Skillshare online learning community with videos on programming, website development, art, designs and many more. Try Skillshare for free for two months now! More…
Creating custom social media share buttons for posts
Creating custom social media share buttons for posts
27 October 2017 | Updated 19 March 2019
Website developers might find it necessary to have custom social share buttons at the top/bottom of their web pages. Custom buttons allow better integration with the rest of a website’s style and create a more unique look. More control over where these buttons appear on pages might also be beneficial. More…