The Twitter Connector is an IDOL connector that retrieves tweets from Twitter.
The Twitter Connector can retrieve tweets in several ways:
Twitter Streaming API
Through the Streaming API you can retrieve tweets as they are created. You can retrieve a filtered stream of tweets that match specific languages and also match a specific user, location, or keyword. Alternatively, you can retrieve a random sample of tweets.
The Twitter Streaming API provides a live stream of data. This means that the connector can only retrieve tweets that are created when the synchronize
action is running. Tweets created at other times are not retrieved. In this mode, the synchronize
action does not stop unless you set the TaskMaxDuration
configuration parameter, run the StopFetch
action, or stop the connector.
Twitter REST API: Search
The connector retrieves a sample of recent tweets (from approximately the last seven days) that match a query. Older tweets cannot be retrieved because of limitations imposed by the Twitter API. In this mode, the synchronize
action finishes when all of the requested tweets have been ingested.
Twitter REST API: User Timeline
The connector ingests tweets made by a specific user. In this mode, the synchronize
action finishes when all of the requested tweets have been ingested.
|