Skip to content

Twitter Source Provider

The Twitter Source feeds data from Twitter supporting My Tweets and User queries.

Twitter Dev App Required

Notice that this source requires a Custom Twitter Dev App for authentication.

Settings

Source Instance Common Settings

SettingDescriptionDefault
NameThe name that will identify this source instance.
Default Cache TimeThe default duration in seconds before the cache is renewed, set to 0 to disable caching. This setting can be overriden in each query configuration.3600

Twitter Source Configuration

SettingDescription
AccountThe Twitter Account which to authenticate with.

My Tweets Query

Fetches tweets from the authenticated account resolving to a list of Tweet Type.

Twitter Tweets Query

SettingDescriptionDefaultDynamic
Since/UntilThe start and/or end datetime the fetched tweets will be restricted to.
LimitThe maximum amount of tweets to fetch.20
CacheThe duration in seconds before the cache is invalidated and the query re-executed.3600

User Query

Fetches the authenticated user account resolving to a list of User Type.

Twitter User Query

SettingDescriptionDefault
CacheThe duration in seconds before the cache is invalidated and the query re-executed.3600

Tweet Type

Defines the mapping options of a Twitter Tweet object.

Twitter Tweet Mapping

OptionDescriptionTypeFilters
IDUnique identifier of this Tweet.String
TextThe content of the Tweet.StringLimit
Text HTMLThe content of the Tweet as HTML.StringLimit
PermalinkThe Tweet URL, e.g. twitter.com/Twitter/status/123456789.String
Created AtThe time this Tweet was created.StringDate
LanguageLanguage of the Tweet, if detected by Twitter. Returned as a BCP47 language tag.String
Total RetweetsNumber of times this Tweet has been Retweeted.Int
Total RepliesNumber of Replies of this Tweet.Int
Total LikesNumber of Likes of this Tweet.Int
Total QuotesNumber of times this Tweet has been Retweeted with a comment (also known as Quote).Int

User Type

Defines the mapping options of a Twitter User object.

Twitter User Mapping

OptionDescriptionTypeFilters
IDUnique identifier of this user.String
UsernameThe Twitter handle (screen name) of this user.String
Created AtThe time this user account was created.StringDate
Profile URLThe URL specified in the user's profile, if present.String
Profile NameThe friendly name of this user, as shown on their profile.String
Profile ImageThe path to the locally cached profile image for this user, as shown on the user's profile.String
Profile DescriptionThe text of this user's profile description (also known as bio), if the user provided one.StringLimit
Total FollowersNumber of users who follows this user.Int
Total FollowingNumber of users this user is following.Int
Total TweetsNumber of Tweets (including Retweets) posted by this user.Int
Total ListedNumber of lists that include this user.Int