Twitter

Twitter Output Format

Review these JSON examples of the Twitter output format.

Twitter: Tweet
Name Type Contents
twitter.domains array(string)

A list of the domains from links mentioned in a Tweet.

twitter.filter_level string

The 'filtering' level of filtering applied to a Tweet.

twitter.geo geo

The location from which a Tweet was sent.

twitter.hashtags array(string)

A list of hashtags mentioned in a Tweet.

twitter.in_reply_to_screen_name string

The Twitter username of the author a Tweet replies to (if it is a reply).

twitter.in_reply_to_status_id string

The ID of the Tweet this Tweet is a reply to.

twitter.in_reply_to_user_id string

The Twitter user ID of the author of the Tweet that this Tweet is a reply to.

twitter.lang string

The language (BCP 47 code) a Tweet was written in, as identified by Twitter.

twitter.links array(string)

A list of links mentioned in a Tweet.

twitter.media.display_url array(string)

A string displayed in place of the URL to an image included in a Tweet.

twitter.media.media_url array(string)

The URL of an image attached to a Tweet.

twitter.media.type array(string)

The type of media included a Tweet.

twitter.mentions array(string)

A list of Twitter usernames mentioned in a Tweet.

twitter.mention_ids array(int)

A list of ids of Twitter users mentioned in a Tweet.

twitter.possibly_sensitive string

Indicates whether a link in a Tweet might contain sensitive material.

twitter.source string

The source of the Tweet. For example, "Twitter for iPad" or "TweetDeck".

twitter.status string

If the object is a status message from Twitter, this target contains its type.

twitter.symbols array(string)

The financial symbols (cashtags) in a Tweet.

twitter.text string

The text of a Tweet.

Twitter: User
Name Type Contents
twitter.user.description string

The Twitter user's biographical description.

twitter.user.favourites_count int

The number of Tweets a user has favorited.

twitter.user.followers_count int

The number of followers the user has.

twitter.user.follower_ratio float

Ratio of followers to following users.

twitter.user.friends_count int

The number of people an author follows.

twitter.user.geo_enabled int

Indicates whether the user has enabled geo tracking.

twitter.user.id int

Unique ID of the Twitter user.

twitter.user.lang string

Two-character language code that the user set in Twitter.

twitter.user.listed_count int

Number of lists in which a user appears.

twitter.user.location string

The string description of the Twitter user's location.

twitter.user.name string

The 'real' name the user supplied to Twitter.

twitter.user.profile_age int

The number of days since a user joined Twitter.

twitter.user.screen_name string

A user's Twitter username.

twitter.user.statuses_count int

The number of messages a Twitter user has posted.

twitter.user.time_zone string

A Twitter user's timezone.

twitter.user.url string

The URL a user chose to include in their Twitter profile.

twitter.user.verified int

If the Twitter has verified the user, this target is set to 1.

Twitter: Place
Name Type Contents
twitter.place.attributes.locality array(string)

Additional locality detail for Twitter place information.

twitter.place.attributes.region array(string)

Additional region detail for Twitter place information.

twitter.place.attributes.street_address array(string)

Additional street address detail for Twitter place information.

twitter.place.country string

The country a Tweet was sent from.

twitter.place.country_code string

The code representing the country a Tweet was sent from.

twitter.place.full_name string

Full name of the location from which a Tweet was sent.

twitter.place.name string

Short name of the location from which this Tweet was sent.

twitter.place.place_type string

The type of location a Tweet was sent from; for example: city, neighborhood, point of interest.

twitter.place.url string

For a Tweet with location information, this string contains a link to the Twitter API to retrieve further information about the location.

Twitter: Retweet
Name Type Contents
twitter.retweet.count int

The total number of Retweets for this Tweet.

twitter.retweet.domains array(string)

List of domains from links in a Tweet that was Retweeted.

twitter.retweet.elapsed int

Time in seconds between this Retweet and the original Tweet.

twitter.retweet.filter_level string

The level of filtering applied to a Retweet.

twitter.retweet.hashtags array(string)

A list of hashtags mentioned in a Retweet.

twitter.retweet.lang string

The language a Retweet was written in, as identified by Twitter.

twitter.retweet.links array(string)

List of links mentioned in a Tweet that was Retweeted.

twitter.retweet.media.display_url array(string)

A string displayed in place of the URL to an image included in a Retweet.

twitter.retweet.media.media_url array(string)

The URL of an image attached to a Retweet.

twitter.retweet.media.type array(string)

The type of media included in a Retweet.

twitter.retweet.mentions array(string)

List of Twitter usernames mentioned in a Tweet that was Retweeted.

twitter.retweet.mention_ids array(int)

List of Twitter user ids mentioned in a Tweet that was Retweeted.

twitter.retweet.possibly_sensitive string

Indicates whether a link in a Retweet might contain sensitive material.

twitter.retweet.source string

The source of a Retweet; for example: "web" or "Tweetdeck".

twitter.retweet.symbols array(string)

The financial symbols (cashtags) in a Retweet.

twitter.retweet.text string

The Retweet text.

twitter.retweet.user.description string

The Twitter biography information for the user who Retweeted a Tweet.

twitter.retweet.user.followers_count int

The number of followers the user has.

twitter.retweet.user.follower_ratio float

Ratio of followers to following users.

twitter.retweet.user.friends_count int

The number of people a Retweeting user follows.

twitter.retweet.user.id int

The id of the Retweeting user.

twitter.retweet.user.lang string

Two-character language code that a Retweeting user selected on Twitter's Settings page.

twitter.retweet.user.listed_count int

The number of lists a Retweeting user appears in.

twitter.retweet.user.location string

The string description of the Twitter's user's location.

twitter.retweet.user.name string

The "real name" a Retweeting user supplied in Twitter's settings page.

twitter.retweet.user.profile_age int

The number of days a Retweeting user been a member of Twitter.

twitter.retweet.user.screen_name string

The Retweeting user's Twitter username.

twitter.retweet.user.statuses_count int

The number of Tweets/Retweets a Retweeting user has posted.

twitter.retweet.user.time_zone string

The Retweeting user's time zone.

twitter.retweet.user.url string

The URL a Retweeting user added in their Twitter profile.

 

twitter.retweet.user.verified int

If the Twitter has verified the Retweeting user, this target is set to 1.

Twitter: Retweeted
Name Type Contents
twitter.retweeted.geo geo

The location information for a Tweet that was Retweeted.

twitter.retweeted.id string

The unique id of the Tweet that was Retweeted.

twitter.retweeted.in_reply_to_screen_name string

The screen name of the author of a Tweet that received a reply that was subsequently Retweeted.

twitter.retweeted.in_reply_to_status_id string

The ID of a Tweet that received a reply that was subsequently Retweeted.

twitter.retweeted.in_reply_to_user_id_str string

The Twitter ID of the author of a Tweet that received a reply that was subsequently Retweeted.

twitter.retweeted.place.attributes array(string)

Additional location information about a Tweet that has been Retweeted.

twitter.retweeted.place.country string

The country of origin of a Tweet that was Retweeted.

twitter.retweeted.place.country_code string

The country code for a Retweeted Tweet.

twitter.retweeted.place.full_name string

Full name of the origin of a Retweeted Tweet.

twitter.retweeted.place.name string

The short name of the location from which a Tweet that is being Retweeted was posted.

twitter.retweeted.place.place_type string

The type of location a Retweeted Tweet was made from.

twitter.retweeted.place.url string

A URL containing a Twitter API call to retrieve additional place information.

twitter.retweeted.source string

The source of the Retweeted Tweet. For example: "web" or "TweetDeck".

twitter.retweeted.user.description string

The biography information for a Twitter user who is being Retweeted.

twitter.retweeted.user.followers_count int

The number of followers a Retweeted author has.

twitter.retweeted.user.follower_ratio float

Ratio of followers-to-following for a Twitter user who is being Retweeted.

twitter.retweeted.user.friends_count int

The number of people a Retweeted user follows.

twitter.retweeted.user.id int

The Twitter id of a Retweeted user.

twitter.retweeted.user.lang string

Two-character language code that a Retweeted user selected on Twitter's Settings page.

twitter.retweeted.user.listed_count int

Number of lists this Retweeted User is listed in.

twitter.retweeted.user.location string

The string description of the Retweeted Twitter User has posted.

twitter.retweeted.user.name string

The "real name" the Retweeted user has assigned to themself.

twitter.retweeted.user.profile_age int

The number of days the Retweeted user has been a member of Twitter.

twitter.retweeted.user.screen_name string

The Retweeted user's Twitter username.

twitter.retweeted.user.statuses_count int

The number of Tweets and Retweets a Retweeted user has posted.

twitter.retweeted.user.time_zone string

The Retweeted user's time zone.

twitter.retweeted.user.url string

The URL the retweeted user included in their Twitter profile.

twitter.retweeted.user.verified int

If Twitter has verified the user, this target is set to 1.