Creating a Custom OAuth App
Create an App
You can follow the steps below to create a Twitter app and obtain the OAuth client credentials:
- Log in to https://dev.twitter.com/apps.
- Click Create New App.
- Enter the name, description, and website to be displayed to users when they connect.
Set the Callback URL to http://localhost:33333/.
If you intend to communicate with Twitter only as the currently authenticated user, then you can obtain the OAuthAccessToken and OAuthAccessTokenSecret directly from this page on Twitter. The OAuthAccessToken and OAuthAccessTokenSecret are listed under the OAuth Settings in the Your Access Token section. You can then connect by setting these connection properties and do not need to continue to the other steps.
Otherwise, if you need to generate access tokens for other user accounts besides the one you used to create the app on Twitter, use the consumer key and consumer secret.
- Navigate to the Keys and Access Tokens tab and make note of the Consumer Key and Consumer Secret. You will use these values for the OAuthClientId and OAuthClientSecret.