Creating a Twitter Application and Generating an Access Token

An access token is required for authorizing access to Twitter applications

Prerequisites

Ensure that you have a valid Twitter account first.
Note: The protocol itself and how Twitter uses the protocol changes at any time. Therefore this document only provides an example.

Procedure

  1. Go to http://dev.twitter.com and sign in with your Twitter user ID.
  2. On the bottom of the page, click Manage Your Apps in the TOOLS section.
  3. Click Create New App.
  4. In the Application Details section, provide the following information:
    1. Enter an application name in the Name field.
    2. Provide a short description for your application in the Description field.
    3. Provide a URL in the Website field, which is your application's publicly accessible home page.
      Note: If you do not have a valid web application currently, an invalid URL also works.
    4. Optional: Provide a callback URL in the Callback URL field.
  5. Read rules in the Developer Agreement section and select the Yes, I agree check box.
  6. Click Create your Twitter application.
  7. Click the My applications link under your user ID.
  8. Click the Keys and Access Token tab.
    The API key and API secret are displayed.
    Note: In the plug-in, API key is mapped to Consumer key and API secret is mapped to Consumer secret. See OAuth 1.0 Resource.
  9. Click Create my access token in the Your access token section to generate access token parameters.
  10. Click the Permissions tab and select Read, Write and Access direct messages.