Obtaining an API key for the Twitter API

Obtaining an API key for the Twitter API

Oct 28, 2019

This tutorial demonstrates how to retrieve credentials on Twitter developer website for use with the Twitter API. This tutorial covers both creating your application to retrieve your OAuth 1.0 consumer key and consumer create as well as configuring your application.

Steps to follow:

  1. Sign in to your Twitter developer account - https://developer.twitter.com/
  2. In your account settings, open the "Apps" section
  3. Click on "Create an app"
  4. Fill the form with application details
  5. When asking for a "Callback URL", provide the following `https://int.bearer.sh/v2/auth/callback`
  6. Your app is created. Let's review the permissions. By default, Twitter gives "Read and write" access. You might need to change that.
  7. That's it!