Twitter Stream Connector and Datasource Configuration
- Registering for Twitter Credentials
- Field Mapping
- ConnectorDb Configuration
- General Configuration
The Twitter Stream connector uses Twitter’s streaming API to continually index Twitter. The datasource can be configured to limit tweets or it can be run indefinitely, until Twitter cuts off your access or you stop the datasource. This connector will only retrieve tweets created after the datasource has been started.
This connector type is "lucid.twitter.search" and the plugin type is "twitter_search".
Registering for Twitter Credentials
In order to successfully configure either Twitter connector, you must first register your application with Twitter and accept their terms of service. The registration process will provide you with the required OAuth tokens you need to access either API. To get the tokens, follow these steps:
Make sure you have a Twitter account, and go to https://dev.twitter.com/ and sign in.
After signing in, choose 'My Applications' from the pull down menu at the upper right that shows a thumbnail of your Twitter profile picture (if you have one). Then choose "Create New App" and fill out the required details. The callback field can be skipped, but you must accept the Terms of Service. To save your information, choose "Create Your Twitter Application" to register your application.
The next page will contain the Consumer Key and Consumer Secret, which you will need to configure the data source in Fusion.
At the bottom of the same page, choose "Create My Access Token".
The next page will contain the Access Token and Token Secret, which you will also need to configure the data source in Fusion.
While you need a Twitter account to register an application, you do not use your Twitter username and password to configure this data source. The APIs will only use the Consumer Key, Consumer Secret, Access Token, and Token Secret information as authentication, so store it where you can access it while configuring the data source.
When entering configuration values in the UI, use unescaped characters, such as