Registering a Twitter App
Registering a Twitter App
To use the Twitter API you will need the following:
- A Twitter Account
- A phone number must be added to this account
Get a Developer Account, by clicking "Sign Up" here you will be asked to create a project and a development app during this process. Twitter may offer you your API Key, Secret, and Bearer Token as this point. Save them for later. With all that done, you should see the dashboard, which will look like this.
Once that's done, you can gather your Consumer Keys. You can do so by clicking the Key icon next to your app's name. This will take you to a page that looks like this.
Click the black button to the right of "API Key and Secret" to generate and retrieve your consumer keys.
Back in the dashboard, you may have noticed where the word Essential. This is a new tiered access structure which controls which types of searches your app can perform. You will need to apply for Elevated access in order for Simflofy to read Tweets. On the right-hand side of the dashboard, you should see an offer to apply for Elevated access. Fill in the required information, and when it asks why you need access, use the following:
We are performing a migration of a user's twitter data, and the tool we use only works with Twitter's v1.1 APIs. So, we will need elevated access in order to retrieve the user's tweets and attached metadata.
Answer "No" to the following questions. Access is usually granted within a few hours, but it may be as long as a day.
Authentication Connection
The fields required are the four pieces of information you retrieved while creating your app
- Consumer Key
- Consumer Secret Key
- Access Token
- Access Token Secret
Bearer Token
While it is not a requirement currently, Simflofy may require it in the future to use certain features of Twitter's APIS
Discovery Connector
The Twitter Discovery Connector only supports one type right now and that is a Tweet. No auth connection needed, but you will need to run it the first time to generate the Tweet type.
Integration Connection
Twitter Integration Connection Configuration
The Twitter Repository Connector only works in repository (read) mode
- Connection Name: This is a unique name given to the connector instance upon creation.
- Description: A description of the connector to help identify it better.
- Authentication Connector: Your Twitter Auth Connector
Job Configuration
- Screen Names to Crawl, Comma Delimited: Include the @ sign before each handle.
- Max Tweet Pages: By default, we will get 1 page of tweets from each handle. This should retrieve 20 tweets.
- Get Tweets: Enables retrieval of tweets
Content Service Connection
note
Content Service Connection is not available for Twitter