Targets

Take a look at our Augmentations page too.

Here are the individual sources that DataSift accesses. Click on each one to see what you can filter against:

 

Note: This section describes the targets that you can filter against, not the data that you consume from DataSift. Read Targets vs Output Data to learn more.

 

Targets are key components of the filters you write in DataSift.

We currently offer more than 300 targets, and that number is growing. The targets documentation lists each one, organized by the service which provides them. It also gives examples of how to use them.

The value for each target has a data type: integer, string, float, geo, or an array of any of these types.

Individual targets are not always present. For instance, the Twitter targets will not be present in Myspace objects. Furthermore, some of the Twitter targets might not be present even if the object comes from Twitter. For instance, the Retweet targets are not populated unless the object is a Retweet. If it is a Retweet, some of the Tweet targets will not be exist because the significant information is carried in the Retweet part of the object. Our documentation for each target indicates whether or not the target always exists.

You can browse the consolidated list of all the targets and augmentations.

 

Output Format Examples

Here are some samples of Twitter output objects.

 

Keywords: 
Tweet: 

Common: Interaction

The common targets are useful when you want to create streams that work for input objects from any source.

For example, if an input object comes from Twitter, interaction.content contains the same string that you would find in twitter.text, the text of a Tweet. Alternatively, if the content comes from YouTube, interaction.content might contain a comment concerning a video.

[view:targets_by_target_objects=block=The Common Target: Interaction]
Tweet: 

interaction.content

Target object: 
Data type: 

The main content of the post; for example: the text of a Tweet from Twitter.

The main content of a post. For example, if the input object is a Tweet, interaction.content contains the text of the Tweet.

It is a general-purpose target. Use it to filter across all the data sources we have rather than restricting your search to just one.

NoteThe filtering engine ignores links and Twitter @mentions. Use the interaction.link target to filter for links and interaction.mentions to filter for @mentions.

Examples: 

1.  Filter for posts from any data source that mention the iPad in their main content:

2.  Filter for Tweets and Retweets about big data that contain links to DataSift or that mention our founder:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The main content of the post. It is a general target which you can use to filter across all the data sources we have.

Example

Filter for posts from any data source that mention the iPad in their main content.

interaction.geo

Target object: 
Data type: 

The location from which this input object was created.

The latitude and longitude from which a post was sent.

Learn more about longitude and latitude.

CSDL offers three geographical operators:

See also: twitter.geo.

Examples: 

1.   To see objects that include interaction.geo information:

2.   To see objects posted within a 50 kilometer radius of DataSift's UK office in Reading:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The latitude and longitude from which a post was sent.

Use our set of special operators to filter for specific geo locations. The Geo box operator allows you to filter for content sent from within any rectangle that you define. The Radius operator allows you to filter for content sent from within any circle you define. The Polygon operator allows you to search for content sent from within any polygon you define, with up to 32 vertices.

Example

Filter for messages sent within 1 mile of the Empire State Building.

interaction.link

Target object: 
Data type: 

A link to an individual post.

A direct link to an individual post. For example, if a post came from Twitter, interaction.link points to the individual page for the Tweet.

Examples: 

1.  To see examples of links in the interaction.links target:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A direct link to an individual post.

Example

If a post came from Twitter, interaction.link points to the individual page for the Tweet.

interaction.sample

Target object: 
Data type: 

A random float in the range 0-100. Used for sampling data.

By default, a stream in DataSift looks at all of the input objects that arrive from your chosen data sources. For example, this filter looks at every input object sent to DataSift along the Twitter Firehose:

In situations where you are performing statistical analysis on data, you can use the technique of sampling.

The interaction.sample target is an internally generated floating-point random number between 0 and 100.

This filter samples 5.25 percent of the incoming input objects and ignores the rest:

 

Rate Limiting:

Twitter limits your to 500,000 Tweets in a 24-hour period. You can use interaction.sample to reduce your data consumption.

Examples: 

1.  To sample 1 percent of incoming Tweets:

2.  Filter for all the Tweets that mention "coffee" and for a 10% sample of the Retweets that mention coffee:

3.  You can even nest the samples:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

By default, a stream in DataSift looks at all of the input objects that arrive from your chosen data sources. This filter samples a specified percent of incoming input objects and ignores the rest. This target is particularly useful when you want to perform statistical analysis on data.

Twitter also limits your data consumption to 500,000 Tweets in a 24-hour period. So you can use interaction.sample to reduce your data consumption.

Example

Sample 2 percent of incoming messages.

interaction.source

Target object: 
Data type: 

The application that was used to generate and send a post.

The application that was used to generate and send a post.

This target can take a wide range of values. Here are some examples:

  • A.plus for BlackBerry
  • Google2Tweet
  • LG Phone
  • MySpace
  • Samsung Mobile
  • Tweet Button
  • TweetDeck
  • Tweetbot for iPhone
  • Twitpic
  • Twitter for Android
  • Twitter for Mac
  • Twitter for iPad
  • Twitter for iPhone
  • UberSocial for BlackBerry
Examples: 

1.  Filter for content generated in TweetDeck:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The application that was used to generate and send a post. For example, A.plus for Blackberry, Google2Tweet, TweetDeck, and so forth.

Example

Filter for posts generated on an iPad.

interaction.title

Target object: 
Data type: 

The title associated with a post.

The title associated with a post. If the post is a blog, for example, it is meaningful to filter by title. If the post is a Tweet, there will be no title.

Examples: 

1.  Filter for posts that mention the iPad in their title:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The title associated with the content.

Example

Filter for all content with iPad in its title.

interaction.type

Target object: 
Data type: 

The data source that generated a post; for example: "twitter".

The data source that supplied a post.

  If the Data source is: The interaction.type is:
  2channel 2ch
  Amazon amazon
  Blogs blog
  Boards board
  DailyMotion dailymotion
  Demographics twitter
  Facebook facebook
  Flickr flickr
  IMDb imdb
  Newscred newscred
  Reddit reddit
  Topix topix
  Twitter twitter
  Videos video
  Wikipedia wikipedia
  YouTube youtube

 

Examples: 

1.  Filter for content from Twitter and YouTube that mentions "apple":

2.  Filter for content from Twitter only:

To make sure that this filter runs correctly, go to the Data Sources page and make sure that Twitter is activated. Activating Twitter automatically de-activates your Demographics feed so, be careful. Do not activate Twitter without first checking whether you have any Demographics streams running.

Note that we are sampling just 2 percent of the feed to reduce costs and make sure we do not exceed our Twitter rate limit.

3.  Filter content from Demographics:

To make sure that this filter runs correctly, go to the Data Sources page and make sure that Demographics is activated. Activating Demographics automatically de-activates your Twitter feed so, be careful. Do not activate Demographics without first checking whether you have any Twitter streams running.

Note that we are sampling just 2 percent of the feed to reduce costs and make sure we do not exceed our Twitter rate limit.

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The data source from which an interaction originated.

Example

Filter for posts from Twitter, Youtube, and IMDb.

interaction.author.avatar

Target object: 
Data type: 

A URL linking to the author's avatar.

A URL linking to the author's avatar.

Examples: 

1. This target is rarely used in filtering, but the data is delivered in the output object. Your client software can process it if you chose to use it. To see examples of interaction.author.avatar:

 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A URL to the author's avatar.

Example

This target is rarely used for filtering, but the data is delivered in the output object. 

interaction.author.id

Target object: 
Data type: 

The author's id on the service from which they generated a post.

The author's id on the service from which they generated a post.

Examples: 

1.  To see examples of ids for all the services from which DataSift accepts data:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The author's id on the service from which they generated a post.

Example

Filter for content by DataSift's user id on Twitter, 155505157.

interaction.author.link

Target object: 
Data type: 

The URL the user has assigned for their homepage or profile.

A link to the author's main page on the service from which they generated a post.

Examples: 

1.  To see examples of interaction.author.link for all the services from which DataSift accepts data:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL the user has assigned for their homepage or profile.

Example

Filter for homepage links to datasift.com.

interaction.author.name

Target object: 
Data type: 

The real name of the author of a post.

The author's real name on the service from which they generated the post.

For example, if the post is a Tweet, interaction.author.name contains the string you would find in twitter.user.name.

Examples: 

1.  Filter for content written by authors with "Linus" in their real name:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The real name supplied by the author, on the service from which they generated the post.

Example

Filter for posts from people with "Bill Gates" as their real name.

interaction.author.username

Target object: 
Data type: 

The username of the author of a post.

The author's username on the service from which they generated a post.

For example, if the post is a Tweet, interaction.author.username contains the string you would find in twitter.user.screen_name.

Examples: 

1.  Filter for content written by authors with "microsoft" in their username:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The username supplied by the author, on the service from which they generated a post.

Example

Filter for authors with "apple" in their username.

What's in Interaction?

 

Regardless of the data source, interaction.sample always contains a random floating-point number between 0 and 100.

 

2ch

Interaction 2ch
interaction.content 2ch.content
interaction.geo 2ch.geo
interaction.link 2ch.link
interaction.mentions  
interaction.mention_ids  
interaction.source 2ch.source
interaction.title 2ch.title
interaction.type "2ch"
interaction.author.avatar 2ch.author.avatar
interaction.author.id 2ch.author.id
interaction.author.link 2ch.author.link
interaction.author.name 2ch.author.name
interaction.author.username 2ch.author.username

 

 

Amazon

Interaction Amazon
interaction.content amazon.content
interaction.geo amazon.geo
interaction.link amazon.link
interaction.mentions  
interaction.mention_ids  
interaction.source amazon.source
interaction.title amazon.title
interaction.type "amazon"
interaction.author.avatar amazon.author.avatar
interaction.author.id amazon.author.id
interaction.author.link amazon.author.link
interaction.author.name amazon.author.name
interaction.author.username amazon.author.username

 

Bitly

Interaction Bitly
interaction.content  
interaction.geo bitly.geo
interaction.link bitly.url
interaction.mentions  
interaction.mention_ids  
interaction.sample  
interaction.source bitly.cname
interaction.title  
interaction.type  
interaction.author.avatar  
interaction.author.id  
interaction.author.link  
interaction.author.name  
interaction.author.username  

 

Blog

Interaction Blog
interaction.content blog.content
interaction.geo blog.geo
interaction.link blog.link
interaction.mentions  
interaction.mention_ids  
interaction.source blog.source
interaction.title blog.title
interaction.type "blog"
interaction.author.avatar blog.author.avatar
interaction.author.id blog.author.id
interaction.author.link blog.author.link
interaction.author.name blog.author.name
interaction.author.username blog.author.username

 

Board

Interaction Board
interaction.content board.content
interaction.geo board.geo
interaction.link board.link
interaction.mentions  
interaction.mention_ids  
interaction.source board.source
interaction.title board.title
interaction.type "board"
interaction.author.avatar board.author.avatar
interaction.author.id board.author.id
interaction.author.link board.author.link
interaction.author.name board.author.name
interaction.author.username board.author.username

 

DailyMotion

Interaction DailyMotion
interaction.content dailymotion.content
interaction.geo dailymotion.geo
interaction.link dailymotion.link
interaction.mentions  
interaction.mention_ids  
interaction.source dailymotion.source
interaction.title dailymotion.title
interaction.type "dailymotion"
interaction.author.avatar dailymotion.author.avatar
interaction.author.id dailymotion.author.id
interaction.author.link dailymotion.author.link
interaction.author.name dailymotion.author.name
interaction.author.username dailymotion.author.username

 

Facebook

Interaction Facebook
interaction.content One of: facebook.message, facebook.icon, facebook.story, facebook.description, or facebook.caption
interaction.geo  
interaction.link  
interaction.mentions facebook.to.names
interaction.mention_ids facebook.to.ids
interaction.sample  
interaction.source facebook.source
interaction.title facebook.name
interaction.type "facebook"
interaction.author.avatar facebook.author.avatar
interaction.author.id facebook.author.id
interaction.author.link facebook.author.link
interaction.author.name facebook.author.name
interaction.author.username  

 

Flickr

Interaction Flickr
interaction.content flickr.content
interaction.geo flickr.geo
interaction.link flickr.link
interaction.mentions  
interaction.mention_ids  
interaction.source flickr.source
interaction.title flickr.title
interaction.type "flickr"
interaction.author.avatar flickr.author.avatar
interaction.author.id flickr.author.id
interaction.author.link flickr.author.link
interaction.author.name flickr.author.name
interaction.author.username flickr.author.username

 

IMDb

Interaction IMDb
interaction.content imdb.content
interaction.geo imdb.geo
interaction.link imdb.link
interaction.mentions  
interaction.mention_ids  
interaction.source imdb.source
interaction.title imdb.title
interaction.type "imdb"
interaction.author.avatar imdb.author.avatar
interaction.author.id imdb.author.id
interaction.author.link imdb.author.link
interaction.author.name imdb.author.name
interaction.author.username imdb.author.username

 

NewsCred

Interaction NewsCred
interaction.content newscred.article.content, newscred.image.caption, or newscred.video.caption
interaction.geo  
interaction.link newscred.article.link
interaction.mentions  
interaction.mention_ids  
interaction.sample  
interaction.source newscred.source.name
interaction.title newscred.article.title or newscred.video.title
interaction.type "newscred"
interaction.author.avatar  
interaction.author.id  
interaction.author.link  
interaction.author.name First entry in the newscred.article.authors array
interaction.author.username  
   

 

Reddit

Interaction Reddit
interaction.content reddit.content
interaction.geo reddit.geo
interaction.link reddit.link
interaction.mentions  
interaction.mention_ids  
interaction.source reddit.source
interaction.title reddit.title
interaction.type "reddit"
interaction.author.avatar reddit.author.avatar
interaction.author.id reddit.author.id
interaction.author.link reddit.author.link
interaction.author.name reddit.author.name
interaction.author.username reddit.author.username

 

Topix

Interaction Topix
interaction.content topix.content
interaction.geo topix.geo
interaction.link topix.link
interaction.mentions  
interaction.mention_ids  
interaction.source topix.source
interaction.title topix.title
interaction.type "topix"
interaction.author.avatar topix.author.avatar
interaction.author.id topix.author.id
interaction.author.link topix.author.link
interaction.author.name topix.author.name
interaction.author.username topix.author.username

 

Twitter

Interaction Twitter
interaction.content twitter.text
interaction.geo twitter.geo
interaction.link  
interaction.mentions twitter.mentions or twitter.retweet.mentions
interaction.mention_ids twitter.mention_ids or twitter.retweet.mention_ids
interaction.sample  
interaction.source twitter.source
interaction.title  
interaction.type "twitter"
interaction.author.avatar twitter.user.profile_image_url
interaction.author.id twitter.user.id
interaction.author.link  
interaction.author.name twitter.user.name
interaction.author.username twitter.user.screen_name

 

 

Video

This Interaction target: Video:
interaction.content video.content
interaction.geo  
interaction.link video.videolink
interaction.mentions  
interaction.mention_ids  
interaction.source  
interaction.title video.title
interaction.type  
interaction.author.avatar  
interaction.author.id  
interaction.author.link video.author.kink
interaction.author.name video.author.name
interaction.author.username  

 

 

Wikipedia

This Interaction target: Wikipedia:
interaction.content wikipedia.comment
interaction.geo  
interaction.link  
interaction.mentions  
interaction.mention_ids  
interaction.source  
interaction.title wikipedia.title
interaction.type  
interaction.author.avatar  
interaction.author.id  
interaction.author.link  
interaction.author.name  
interaction.author.username  

 

 

YouTube

This Interaction target: YouTube:
interaction.content youtube.content
interaction.geo  
interaction.link youtube.videolink
interaction.mentions  
interaction.mention_ids  
interaction.source  
interaction.title youtube.title
interaction.type  
interaction.author.avatar  
interaction.author.id  
interaction.author.link youtube.author.link
interaction.author.name youtube.author.name
interaction.author.username  
Tweet: 

interaction.mention_ids

Target object: 
Data type: 

List of user IDs for users mentioned in an interaction.

List of user IDs for users mentioned in an interaction.

This target will match interactions otherwise matched by twitter.mention_ids and twitter.retweet.mention_ids as well as facebook.to.ids.

Examples: 
Notes: 

Be aware a user's ID on one site might, by chance, be the same as another user's ID on another site. For example, my numeric ID on Facebook might be the same as some else's Twitter ID.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

interaction.mentions

Target object: 
Data type: 

List of users/usernames mentioned in an interaction.

List of users/usernames mentioned in an interaction.

This target will match interactions otherwise matched by twitter.mentions and twitter.retweet.mentions as well as facebook.to.names.

Examples: 
Notes: 

Make sure that the name(s) you use as the argument of this target point to the accounts owned by the same user(s).

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Twitter

Twitter Output Format

Review these JSON examples of the Twitter output format.

Keywords: 
[view:targets_by_target_objects=block=Twitter]
Tweet: 

twitter.domains

Target service: 
Target object: 
Data type: 

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

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

Remember that Twitter has an automated link shortener which converts links mentioned in a Tweet into links belonging to the t.co domain. The twitter.domains target contains the unwrapped version of the link, not the t.co shortened version.

The author of the Tweet might have shortened a link already; they might have converted apple.com, for example, into a bit.ly shortened link. Twitter's automatic shortener might, in turn, convert that bit.ly link into a t.co link. In this example, the twitter.domains target unwraps the t.co link to a bit.ly link, but it does not resolve that bit.ly link all the way back to the original apple.com link. In other words, if a link has been shortened, the process always performs one unwrap but no more.

DataSift has a powerful link aggregator of its own, the Links Augmentation, which fully resolves links back to the page they point to. Take a look at the links.domain target.

Examples: 

1.   Filter for Tweets that include links to Apple.com. Note that the target is an array and we are filtering for just one value so we use the == operator rather than contains.

2.   Filter for Tweets that include links to google.com or microsoft.com. Note that the target is an array and we are filtering for a value from a list so we use the in operator rather than contains.

 

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A list of the domains mentioned in links in a Tweet. This target allows you to filter for Tweets that mention particular websites. 

Example

Filter for Tweets that mention pages from flickr.com.

twitter.geo

Target service: 
Target object: 
Data type: 

The location from which a Tweet was sent.

The geographical location information for a Tweet represented by a pair of longitude and latitude coordinates.

Learn more about longitude and latitude.

CSDL offers three geographical operators:

See also: interaction.geo.

Examples: 

1.    Filter for Tweets originating within a 50 kilometer radius of DataSift's UK office in Reading:

2.   Filter for Tweets originating within a region represented by a rectangle:

3.   Filter for Tweets originating within a region represented by a polygon:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The geo location, in latitude and longitude, from which a Tweet was posted. You can draw the area that you’re interested in as a circle, a rectangular box, or a polygon defined by up to 32 points.

Example

Filter for Tweets posted from within a 10-mile radius of New York City.

twitter.in_reply_to_screen_name

Target service: 
Target object: 
Data type: 

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

If a Tweet is a reply, twitter.in_reply_to_screen_name contains the username of the author a Tweet is replying to.

Otherwise it is not populated.

Examples: 

1.   Filter for Tweets that are replies:

2.   Filter for Tweets that reply to Tweets from Datasift:

Note that the argument is "datasift" rather than "@datasift". You do not include the @ symbol.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The Twitter username of the author who posted the original Tweet, which received a reply. This target is useful when you want to see everything that an author Tweets together with all the responses.

Example

Filter for all the replies to Lady Gaga. 

twitter.links

Target service: 
Target object: 
Data type: 

A list of links mentioned in a Tweet.

A list of the links mentioned in this Tweet.

Note that DataSift also has a powerful link aggregator of its own, available via the Links Augmentation.

Examples: 

1.  Filter for Tweets that include a link to a particular page at yahoo.com. Note that the target is an array and we are filtering for just one value so we use the == operator rather than contains.

2.  Filter for Tweets that include a link to any page from a set of two or more pages. Note that the target is an array and we are filtering for one value from a list so we use the in operator rather than contains.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A list of links mentioned in a Tweet.

Example

Filter for all the Tweets that mention the link "http://scores.espn.go.com/nfl/".

twitter.mentions

Target service: 
Target object: 
Data type: 

A list of Twitter usernames mentioned in a Tweet.

A list of the Twitter usernames mentioned in a Tweet.

Take care to use the correct operator with this target. As the examples show, use == if you are filtering for just one username and use in if you are filtering for a list of two or more usernames.

Examples: 

1.  Filter for Tweets that mention @datasift:

Note that the argument is "datasift" rather than "@datasift". Also, remember that the target is an array and we are filtering for just one value so we use the == operator (not contains).

2.   Filter for Tweets that mention @LadyGaga or @Beyonce:

The target is an array and we are filtering for a list of values so we use the in operator (not contains).

Notes: 

You cannot filter for usernames or links in the twitter.text target.

For example, suppose the original text of a Tweet is:

    "@datasift launched today! http://bitly.com/r6pmP0"

The Tweet will not match against this filter:

    twitter.text contains "@datasift"

    OR twitter.text subst "bitly"

It will match against this filter:

    twitter.text contains "launched today"

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A list of the Twitter usernames mentioned in a Tweet.

Example

Filter for Tweets that mention "BarackObama" and "MittRomney".

twitter.source

Target service: 
Target object: 
Data type: 

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

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

Examples: 

1.  Filter for Tweets that were not sent from the Twitter.com user interface:

2.  Filter for people Tweeting from a Blackberry:

Notice that we use the substr operator here because there is more than one Twitter client for the Blackberry.

Notes: 

Here are some typical examples of sources that you might see in a DataSift stream:

4MedProNetwork ALToolbar TwitPal
DROID TwitBird shareaholic
MetroTwit Prinz SOICHA
Indeed.com Tumblr Tween
HootSuite TweetCaster for Android TweetDeck
Facebook WPTweeter Write Longer
Keitai Web UberSocial for BlackBerry Echofon
Tweet Button twitterfeed Twitterrific for Mac
Twitter for iPad Twitter for iPhone Twitter for Android
ShootingStarPro Revenge Of The Fallen twicca
Gravity shabik360 ShootingStar
FingerLaser Shazam on iOS Mobile Web
Buffer SocialScope Instagram

Note that DataSift returns them wrapped in anchor tags in the JSON output like this:

    <a href="http://www.tumblr.com/" rel="nofollow">Tumblr</a>

To collect 'clean' copies of the sources, you could consider using the interaction.source target. 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The source from where a Tweet originated. 

Example

Filter for Tweets sent from Instagram users.

twitter.text

Target service: 
Target object: 
Data type: 

The text of a Tweet.

The 140-character text of a Tweet.

DataSift's filtering engine strips URLs and @mentions from the text of the Tweet so make sure you select your target carefully:

Use this target: To filter for this content:
twitter.text The text of a Tweet only.
twitter.links Links embedded in a Tweet.
twitter.domains Domains of links embedded in a Tweet.
twitter.mentions Twitter user screen names mentioned in a Tweet.

 

You can write a filter that looks for "bitly" in twitter.text like this:

   twitter.text contains "bitly"

It matches this Tweet: "Have you used bitly today?"

 

However, to filter for the link in this Tweet: "Take a look at http://bitly.com/r6pmP0"

you would use the twitter.links or twitter.domains targets or the Links augmentation.

 

Similarly, to look for Tweets that refer to a specific user like this one: "Have you tried @DataSift yet?"

you would use the twitter.mentions target.

Examples: 

1.   Filter for Tweets that refer to a birthday:

2.   Filter for people talking about the 2012 Olympics on Twitter:

Notes: 

You cannot filter for usernames or links in the twitter.text target.

For example, suppose the original text of a Tweet is:

    "@DataSift launched today! http://bitly.com/r6pmP0"

The Tweet will not match against this filter:

    "twitter.text contains "@datasift"

    OR twitter.text subst "bitly"

It will match against this filter:

    twitter.text contains "launched today"

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The 140-character main text of a Tweet.

Example

Filter for Tweets that contain the text "iPhone 5 release".

twitter.user.description

Target service: 
Target object: 
Data type: 

The Twitter user's biographical description.

The biography information from the Twitter user's Profile page. Twitter limits this field to 160 characters.

Examples: 

1.  Filter for Tweets from people who include selected words in their Twitter Bio:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The 160-character biography information from the Twitter user's Profile page.

Example

Filter for Tweets from anyone who includes "IT" in their Twitter Profile.

twitter.user.followers_count

Target service: 
Target object: 
Data type: 

The number of followers the user has.

The number of followers the author of a Tweet has on Twitter.

Examples: 

1.   Filter for Tweets from popular Twitterers:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of followers the author of a Tweet has on Twitter.

Example

Filter for Tweets from Twitter members who have more than 500,000 followers.

twitter.user.follower_ratio

Target service: 
Target object: 
Data type: 

Ratio of followers to following users.

The number of people who follow this Twitter user divided by the number of people the user follows on Twitter.

Examples: 

1.  Filter for Tweets from authors who are followed by 10 times more people than they follow:

2.  Filter for Tweets from authors who have posted more than 10,000 Tweets and who are followed by 50 times more people than they follow:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The ratio of the number of people who follow a Twitter user divided by the number of people that user follows on Twitter.

Example

Filter for Tweets from authors who are followed by 10 times more people than they follow.

twitter.user.friends_count

Target service: 
Target object: 
Data type: 

The number of people an author follows.

The number of people an author follows on Twitter.

Examples: 

1.  Filter for Tweets from authors who follow more than 100,000 people on Twitter:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of other Twitter users that a Twitter user follows.

Example

Filter for Tweets from users who follow more than 100,000 people on Twitter.

twitter.user.id

Target service: 
Target object: 
Data type: 

Unique ID of the Twitter user.

Summary

A user's unique id on Twitter. For example, the Twitter id for @DataSift is 155505157.

The id is not exposed on the Twitter website but can be used if you write code to access the Twitter API.

Note that Twitter treats user IDs and Tweet IDs differently.

Example

Filter for all Tweets from a list of accounts you specify by their user id.

Examples: 

1.  Filter for Tweets from DataSift:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The unique user id of a Twitter user.

Example

Filter for tweets by Lady Gaga, using her Twitter id "14230524".

twitter.user.lang

Target service: 
Target object: 
Data type: 

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

The language the Twitter user selected from the drop-down list on their Settings page.

It is an indication of their primary language but it might be misleading. For example, a user might select French as their mother tongue but compose their Tweets in English. DataSift offers an augmentation called Language which determines the language based on a statistical analysis of groups of characters.

The drop-down list shows the full name of the language (English, French, German, and so on) but the twitter.user.lang target contains the code for the language.

Take a look at the list of languages that Twitter supports.

Examples: 

1.  Filter for Tweets from authors who specify French as their preferred language:

2.  Filter for Tweets from authors who specify French as their preferred language but Tweet in English:

3.  Filter for Tweetz written in Lolcatz:

You might need to wait for these to show up. At the time of writing there are fewer than 100 per hour but if you're patient you'll see them.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The default language selected by a Twitter user on their Settings page. 

Example

Filter for Tweets from authors who specify French as their preferred language.

twitter.user.listed_count

Target service: 
Target object: 
Data type: 

Number of lists in which a user appears.

The number of Twitter lists on which the author of a Tweet appears.

Examples: 

1.  Filter for Tweets from people who appear on more than 100 lists:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of Twitter lists on which the author of a Tweet appears.

Example

Filter for Tweets from people who appear on more than 100 lists.

twitter.user.location

Target service: 
Target object: 
Data type: 

The string description of the Twitter user's location.

The string description of the Twitter user's location. This is supplied by the Twitter user in the Location field on their Profile page. It is a freeform field, so they can type anything they choose:

  • America
  • Greenwich
  • Example Road
  • Number 42
  • With my family
Examples: 

1.   Filter for Tweets from people who include Japan in their location description:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The string description of a Twitter user's location. 

Example

Filter for Tweets from users who state their location as London.

twitter.user.name

Target service: 
Target object: 
Data type: 

The 'real' name the user supplied to Twitter.

A Twitter user's 'real' name. Since this is a free-text entry field in the Twitter settings, it could contain anything. It could be the user's genuine name, perhaps augmented with a title (such as Dr or Professor), a suffix (such as "BA" or "Jnr" or "III"), or a post nominal (such as "FRSC" or "FAIA") indicating membership of an organization or professional body.

The range of possibilities is wide and includes obvious parody accounts, and accounts that are run by companies or organizations. For instance, the @climagic account, which Tweets about Unix-based computer operating systems, has a "real name" of Command Line Magic.

Note that a Twitter user can adjust their real name over time. They can change their screenname (for example @LadyGaga) too, but their Twitter id cannot be changed.

Examples: 

1.   Filter for Tweets from users who have included "doctor" in their real name:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The name supplied by a Twitter user. Since this is a free-text entry field in the Twitter settings, it could contain anything. The name might indicate a name, parody account, or an account run by a company or organization.

Example

Filter for Tweets from users that include "Snr" or "Sr" in their names.

twitter.user.profile_age

Target service: 
Target object: 
Data type: 

The number of days since a user joined Twitter.

The number of days since this user joined Twitter.

Examples: 

1.  Filter for Tweets from authors who joined Twitter more than three years ago:

2.  Filter for Tweets from authors who are in their second month of Twitter membership:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of days since a user joined Twitter.

Example

Filter for Tweets from users who have been members of Twitter for more than five years.

twitter.user.screen_name

Target service: 
Target object: 
Data type: 

A user's Twitter username.

An author's Twitter username. For example, the screenname for the @DataSift account on Twitter is "DataSift".

Note that Twitter users can adjust their screenname over time so @LadyGaga could change to @LadyG, for example, if that screenname were available. A user's Twitter id cannot be changed so, for consistency over time, we recommend this procedure:

  1. Filter on a screenname until you have collected at least one Tweet.

  2. Examine the output JSON data to determine the Twitter id that corresponds to the screenname.

  3. Rewrite your CSDL filter to use the id instead of the screenname.

Examples: 

1.  Filter for Tweets from authors who include "marketing" in their Twitter username:

2.  Filter for Tweets from a set of authors:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A user's Twitter username. 

Example

Filter for Tweets from users with "Apple" in their Twitter username.

twitter.user.statuses_count

Target service: 
Target object: 
Data type: 

The number of messages a Twitter user has posted.

The total number of Tweets and Retweets a Twitter user has posted.

Examples: 

1.  Filter for Tweets from prolific Twitterers:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The total number of Tweets and Retweets a Twitter user has posted.

Example

Filter for Tweets from people who have posted more than 100,000 messages.

twitter.user.time_zone

Target service: 
Target object: 
Data type: 

A Twitter user's timezone.

The time zone that a Twitter user selected in their Twitter Settings.

Note that Twitter uses city names to specify timezones. For example, using this target, your filter might match against Edinburgh and against London, but these both represent a single timezone.

Examples: 

1.  Filter for Tweets from the same timezone as Tokyo:

2.  Filter for Tweets from users who have not selected London as their time zone:

Notes: 

Here's a complete list of the values you can filter against with twitter.user.time_zone:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The time zone that a Twitter user has selected in their Twitter Settings. 

Example

Filter for Tweets from users in the New York time zone.

twitter.user.url

Target service: 
Target object: 
Data type: 

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

The URL a user chose to include in their Twitter profile. This is optional, so it is frequently unpopulated.

 

Examples: 

1.  Look for Tweets that include a twitter.user.url:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL a Twitter user chose to include in their Twitter profile. This is an optional field, so it might be unpopulated.

Example

Filter for Tweets from users that include a link containing "wordpress" in their profile.

twitter.place.country

Target service: 
Target object: 
Data type: 

The country a Tweet was sent from.

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.place.* targets are unpopulated for that Tweet.

 

The country from which a Tweet was sent. 

See also twitter.place.country_code.

Examples: 

1.  Filter for Tweets for which the user-supplied location information is in Canada:

Notes: 

Twitter treats the US and UK as "United States" and "United Kingdom". Here are some sample countries that you can filter against:

Algeria Argentina Armenia
Australia Austria Azerbaijan
Bahamas Belarus Belgien
Belgium Bosnia and Herzegovina           Brasil
Canada Chile Colombia
Costa Rica Curacao Denmark
Dominican Republic Ecuador Egypt
El Salvador Estonia Finland
France Georgia Germany
Greece Guadeloupe Guatemala
Honduras Hong Kong Hungary
India Indonesia Ireland
Italia Italy Jamaica
Japan Korea, Republic Of Kosovo
Lao People's Democratic Republic Latvia Luxembourg
Macedonia, the Former Yugoslav Republic Of Malaysia Martinique
Mexico Monaco Morocco
Norway Pakistan Panama
Peru Philippines Poland
Portugal Russia Saudi Arabia
Serbia South Africa Spain
Sri Lanka Suomi Sweden
Switzerland Taiwan, Republic of China Thailand
The Netherlands Trinidad and Tobago Tunisia
Turkey Ukraine United Arab Emirates
United Kingdom United States Uruguay
Venezuela, Bolivarian Republic Of

 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The country from which a Tweet was sent. You can filter against countries by name or you can use Country Code if you prefer to filter by their 2-character ISO code.

Example

Filter for Twitter content from Italy.

twitter.place.country_code

Target service: 
Target object: 
Data type: 

The code representing the country a Tweet was sent from.

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.place.* targets are unpopulated for that Tweet.

 

The two-character country code that corresponds to the location the Twitter user supplied for an individual Tweet.

You can learn more about country codes at this International Standards Organization page.

See also twitter.place.country.

Examples: 

1.  Filter for Tweets for which the user-supplied location information is in Canada:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The two-character country code that corresponds to the location the Twitter user supplied for an individual Tweet.

Example

Filter for Tweets from France.

twitter.place.full_name

Target service: 
Target object: 
Data type: 

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

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.place.* targets are unpopulated for that Tweet.

 

Full details of the location the Twitter user supplied for an individual Tweet. For example:

  • York, Ontario
  • Division No. 11, Alberta
  • Greater Vancouver, British Columbia
  • Halifax, Nova Scotia

See also: twitter.place.name.

Examples: 

1.  Filter for Tweets for which the user-supplied location information is London, England:

2.  Filter for Tweets from any location called London:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Full details of the location the Twitter user supplied for an individual Tweet. For example:

  • York, Ontario
  • Division No. 11, Alberta
  • Greater Vancouver, British Columbia
  • Halifax, Nova Scotia

Example

Filter for Tweets from Chicago.

twitter.place.name

Target service: 
Target object: 
Data type: 

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

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.place.* targets are unpopulated for that Tweet.

Typically, a shortened version of twitter.place.full_name. For example:

If twitter.place.full_name is this:   twitter.place.name might be this:
Charlotte, NC Charlotte
London, England London
Division No. 11, Alberta Division No. 11

Note that a twitter.place.full_name maps to a unique twitter.place.name but, in the reverse direction, one twitter.place.name might correspond to many different twitter.place.full_name values.

In other words, this filter:

    twitter.place.full_name == "London, England"

always produces objects with twitter.place.name set to "London".

But this filter:

    twitter.place.name == "London"

produces objects with twitter.place.full_name set to "London, England" or "London, KY" and, almost certainly, other values too.

Examples: 

1.  Filter for Tweets for which the user-supplied location information is London:

2.  Filter for Tweets from locations called London that are outside the United Kingdom:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Typically, a shortened version of twitter.place.full_name. For example:

If twitter->place->full name is this:   twitter->place->name might be this:
Charlotte, NC Charlotte
London, England London
Division No. 11, Alberta Division No. 11

Example

Filter for Tweets from any town or city called London.

twitter.place.place_type

Target service: 
Target object: 
Data type: 

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

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.place.* targets are unpopulated for that Tweet.

 

The place_type supplied by Twitter. Consult Twitter's documentation for further details. Typical values are:

  • admin
  • city
  • country
  • neighborhood
  • poi

The poi value indicates a point of interest such as Stonehenge or Niagara Falls.

Examples: 

1.  Filter for Tweets from points of interest:

2.  Filter for Tweets from cities and countries that include the string "England" in their name:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The place_type supplied by Twitter. Typical values are:

  • admin
  • city
  • country
  • neighborhood
  • poi, that is point of interest such as Stonghenge or Niagara Falls.

Example

Filter for Tweets from likely tourist locations that mention a particular restaurant chain.

twitter.place.url

Target service: 
Target object: 
Data type: 

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

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.place.* targets are unpopulated for that Tweet.

 

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

Examples: 

1.  Filter for Tweets with additional place information:

Here's a sample return value from this filter:

    http://api.twitter.com/1/geo/id/df0e3d16d714e714.json

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

Example

Filter for Tweets that have this additional location information.

twitter.retweet.count

Target service: 
Target object: 
Data type: 

The total number of Retweets for this Tweet.

The total number of Retweets for this Tweet.

See also links.retweet_count. Note that the Links augmentation handles the concept of a Retweet count as an overall count, not on a Tweet-by-Tweet basis.

Examples: 

1. Filter for Tweets that have been Retweeted more than 50 times:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The total number of Retweets for a particular Tweet.

    

You could also take a look at Retweet count in the Links augmentation. 

 

Note that the Links augmentation handles the concept of a Retweet count as an overall count, not on a Tweet-by-Tweet basis.

Example

Filter for Tweets that have been Retweeted more than 50 times.

twitter.retweet.domains

Target service: 
Target object: 
Data type: 

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

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

Examples: 

1.  Filter for Retweets of Tweets that link to apple.com:

Note that the target is an array and we are filtering for just one value so we use the == operator rather than contains.

2.  Filter for Retweets of Tweets that link to google.com, microsoft.com, or both:

Note that the target is an array and we are filtering for a value from a list so we use the in operator rather than contains.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

Example

Filter for Retweets of Tweets that link to google.com, microsoft.com, or both:

twitter.retweet.elapsed

Target service: 
Target object: 
Data type: 

Time in seconds between this Retweet and the original Tweet.

The time interval measured in seconds between posting of the original Tweet and posting of this Retweet.

Examples: 

1.  Filter for messages that were Retweeted within 15 seconds:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The time interval measured in seconds between the posting of the original Tweet and reposting of its Retweet.

Example

Filter for Retweets that were made within one minute of the original Tweet.

twitter.retweet.links

Target service: 
Target object: 
Data type: 

List of links mentioned in a Tweet that was Retweeted.

A list of links mentioned in a Tweet that was Retweeted.

Examples: 

1.  Filter for objects that include a particular Retweeted link:

2.  Filter for objects that include a Retweeted link from a list:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A list of links mentioned in a Tweet that was Retweeted.

Example

Filter for Twitter objects that include a particular Retweeted link.

twitter.retweet.source

Target service: 
Target object: 
Data type: 

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

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

Examples: 

1.  Filter for Retweets that were not sent from the Twitter.com user interface:

2.  Filter for people Retweeting from a Blackberry:

Notice that we use the substr operator here because there is more than one Twitter client for the Blackberry.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

This tells you the source of the Retweet; for example: "web" or "Tweetdeck".

Example

Filter for Retweets sourced from a Blackberry.

twitter.retweet.text

Target service: 
Target object: 
Data type: 

The Retweet text.

The 140-character text of a Retweet.

DataSift's filtering engine strips URLs and @mentions from the Retweet so make sure you select your target carefully:

Use this target: To filter for this content:
twitter.retweet.text The text of a Retweet only.
twitter.links Links embedded in a Retweet.
twitter.domains Domains of links embedded in a Trtweet.
twitter.mentions Twitter user screen names mentioned in a Retweet.

 

See also: twitter.text

 

Examples: 

1.  Filter for Retweets that mention Apple:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The text of a Retweet.

Example

Filter for Retweets that mention Apple.

twitter.retweet.user.description

Target service: 
Target object: 
Data type: 

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

The biography information from the Profile page of the Twitter user who Retweeted a Tweet. Twitter limits this field to 160 characters.

Examples: 

1.  Filter for Retweets from people who include selected words in their Twitter Bio:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The 160-character biography information from the Profile page of the Twitter user who Retweeted a Tweet. 

Example

Filter for Retweets from people who mention "Samsung" in their Twitter bio.

twitter.retweet.user.followers_count

Target service: 
Target object: 
Data type: 

The number of followers the user has.

The number of followers the author of a Retweet has on Twitter.

Examples: 

1.  Filter for Retweets from popular Twitter users:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of followers the author of a Retweet has on Twitter.

Example

Filter for Retweets from popular Twitter users.

twitter.retweet.user.follower_ratio

Target service: 
Target object: 
Data type: 

Ratio of followers to following users.

The number of people who follow a Retweeting user divided by the number of people the user follows on Twitter.

This information relates to the Retweeting user and has nothing to do with the author of the original Tweet.

Examples: 

1.  Filter for Retweets sent by Twitter users who are followed by 10 times more people than they follow:

2.  Filter for Retweets from authors who have posted more than 10,000 Tweets and who are followed by 50 times more people than they follow:

Note that we user  twitter.retweet.user.statuses_count  in the code rather than  twitter.user.statuses_count  because the twitter.user namespace might not be present for Retweets.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The ratio of the number of people who follow a Retweeting user and the number of people the Retweeting user follows on Twitter.

Example

Filter for Retweets from authors who have posted more than 10,000 Tweets and who are followed by 50 times more people than they follow.

twitter.retweet.user.friends_count

Target service: 
Target object: 
Data type: 

The number of people a Retweeting user follows.

The number of people a Retweeting user follows on Twitter.

Examples: 

1.  Filter for Retweets from people who follow more than 100,000 Twitter members:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of people a Retweeting user follows on Twitter.

Example

Filter for Retweets from people who follow more than 100,000 Twitter members.

twitter.retweet.user.id

Target service: 
Target object: 
Data type: 

The id of the Retweeting user.

The Retweeting user's unique id on Twitter. For example, the Twitter id for DataSift is 155505157.

The id is not exposed on the Twitter website but can be used if you write code to access the Twitter API.

Note that Twitter handles user ids and Tweet ids differently.

Examples: 

1.  Filter for Retweets from DataSift:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The unique user id of Retweeting user on Twitter. 

Example

Filter for Retweets from DataSift by our Twitter id, 155505157.

twitter.filter_level

Target service: 
Target object: 
Data type: 

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

Twitter's estimation of the importance of a Tweet. This target can take these values:

  • none
  • low
  • medium
  • high (right now, this one's reserved by Twitter for future use)

The medium and high entries roughly correlate to the "Top Tweets" results for searches on twitter.com.

Here's how it works. Twitter assigns a filter level to each Tweet. For example, I might write a Tweet that Twitter decides to mark as "low", which means that they don't see it as particularly significant. A moment later, you write a Tweet and they mark it as "medium" which is the highest level currently possible.

This DataSift filter will deliver both of our Tweets:

While this one will find yours but not mine:

Examples: 

1.  Filter for Tweets that have their filter level set to "medium": 

Notes: 

For more information, take a look at Twitter's blog, Introducing new metadata for Tweets.

Array: 
No
Tweet: 
GUI Tooltip: 

twitter.hashtags

Target service: 
Target object: 
Data type: 

A list of hashtags mentioned in a Tweet.

A list of Twitter hashtags mentioned in a Tweet. 

When using this target for filtering, ensure that you use the correct operator with this target:

  • For one hashtag, use the == operator 
  • For a list of two or more hashtags, use the in operator

Since this target is an array and we are filtering for a list of values, we are using the == or in operator (not contains or contains_any).

Examples: 

1.  Filter for Tweets that mention #snow:

Note that the argument is "snow" and not "#snow"; you do not need to include the hashtag symbol in the CSDL.

2.  Filter for Tweets that mention #snow or #work:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A list of Twitter hashtags mentioned in a Tweet. 

When using this target for filtering, ensure that you use the correct operator with this target:

  • For one hashtag, use the == operator 
  • For a list of two or more hashtags, use the in operator

Since this target is an array and we are filtering for a list of values, we are using the == or in operator (not contains or contains_any).

Example

Filter for Tweets that mention #Apple or #Samsung.

twitter.lang

Target service: 
Target object: 
Data type: 

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

The language a Tweet was written in, as identified by Twitter's machine language detection algorithms. The values are valid BCP 47 language identifiers, and may represent any of the languages listed on Twitter's advanced search page, or "und" if no language could be detected.

DataSift already has a language detection mechanism, of course, offered by our Language augmentation. But remember that there is a third way to find out which language a user prefers, by examining the language an author selected in their Settings page on Twitter. You can filter against this using twitter.user.langtwitter.retweet.user.lang, or twitter.retweeted.user.lang. Take care, though, because users select their language from a drop-down list. They might make a mistake, or select a langauge that is not their own, or perhaps Tweet in more than one language. The bottom line here us that there might be a discrepancy between the language of the Tweet and the main language the user specified in their profile.

Examples: 

1.  Filter for Tweets written in a language other than English:

Array: 
No
Tweet: 
GUI Tooltip: 

twitter.media.display_url

Target service: 
Target object: 
Data type: 

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

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

When an author uploads an image to attach to their Tweet, Twitter automatically assigns it a unqiue display URL that is included in the Tweet, instead of the actual URL to an image. You can use this target to filter for content if you know the display URL of an image attached to a Tweet. This target is useful when you need to find out what people are saying about an image posted by a particular celebrity or brand.

Examples: 

1.  Filter for Tweets that include an image with a particular display URL:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

When an author uploads an image to attach to their Tweet, Twitter automatically assigns it a unqiue display URL that is included in the Tweet, instead of the actual URL to an image. You can use this target to filter for content if you know the display URL of an image attached to a Tweet. This target is useful when you need to find out what people are saying about an image posted by a particular celebrity or brand.

Example

Filter for Tweets that include an image with a particular display URL.

twitter.media.media_url

Target service: 
Target object: 
Data type: 

The URL of an image attached to a Tweet.

The URL of an image attached to a Tweet.

A Tweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. Authors can use Twitter's Upload Photo feature to attach an image to their Tweet. You can use this target to filter for content if you know the URL of a media file included in a Tweet. 

Remember, the URL of an image is different than the display URL visible in the Tweet itself. To view the full URL, click on the display URL of an image in a Tweet. Then right-click on the image and click View Image. The full URL is then visible in the address bar of your browser. 

Examples: 

1.  Filter for Tweets that include a particular image:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL of an image attached to a Tweet.

A Tweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. Authors can use Twitter's Upload Photo feature to attach an image to their Tweet. You can use this target to filter for content if you know the URL of a media file included in a Tweet. 

Remember, the URL of an image is different than the display URL visible in the Tweet itself. To view the full URL, click on the display URL of an image in a Tweet. Then right-click on the image and click View Image. The full URL is then visible in the address bar of your browser. 

Example

Filter for Tweets that mention "Samsung" and include a particular image.

twitter.media.type

Target service: 
Target object: 
Data type: 

The type of media included a Tweet.

The type of media included in a Tweet.

A Tweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. Authors can use Twitter's Upload Photo feature to attach an image to their Tweet. 

Ensure that when you use this target, you filter for the media type 'photo'. For instance, you can use this target to filter for Tweets that contain an image and mention a particular keyword.

Examples: 

1.  Filter for Tweets with photo media attached and that mention "snow":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The type of media included in a Tweet. 

A Tweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. Authors can use Twitter's Upload Photo feature to attach an image to their Tweet. 

Ensure that when you use this target, you filter for the media type 'photo'. For instance, you can use this target to filter for Tweets that contain an image and mention a particular keyword.

Example

Filter for Tweets with photo media attached and mentioning Apple.

twitter.mention_ids

Target service: 
Target object: 
Data type: 

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

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

Take care to use the correct operator with this target. As the examples show, use == if you are filtering for just one username and use in if you are filtering for a list of two or more usernames.

Examples: 

1.  Filter for Tweets that mention @datasift by our Twitter id, 155505157:

Remember that the target is an array and we are filtering for just one value so we use the == operator.

2.  Filter for Tweets that mention any Twitter id from a list of id:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

Example

Filter for Tweets that mention LadyGaga and Beyonce by their user ids "14230524, 31239408".

twitter.place.attributes.locality

Target service: 
Target object: 
Data type: 

Additional locality detail for Twitter place information.

This target allows you to filter against the locality information that is visible in the JSON output embedded within the twitter.place.attributes element.

The twitter.place.attributes target can be difficult to filter against unless you know exactly what is in there. The twitter.place.attributes.locality attribute is a lower-level target. Since it is more specific, it is more valuable in filters.

In the US, this target typically contains the name of a city.

Examples: 

1.  Filter for Tweets that mention Oakland as their locality:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The additional locality information that is attached to a Tweet, similar to the twitter.place.attributes target.

Example

Filter for Tweets with additional locality information set as Soho.

twitter.place.attributes.region

Target service: 
Target object: 
Data type: 

Additional region detail for Twitter place information.

This target allows you to filter against the locality information that is visible in the JSON output embedded within the twitter.place.attributes element.

The twitter.place.attributes target can be difficult to filter against unless you know exactly what is in there. The twitter.place.attributes.region attribute is a lower-level target. Since it is more specific, it is more valuable in filters.

In the US, this target typically contains the name of a state.

Examples: 

1. Filter for Tweets from Pensylvania:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The additional region information that is attached to a Tweet, similar to the twitter.place.attributes target. For US, this target typically contains the name of a state.

Example

Filter for Tweets with additional region information set as North Carolina.

twitter.place.attributes.street_address

Target service: 
Target object: 
Data type: 

Additional street address detail for Twitter place information.

This target allows you to filter against the street address information that is visible in the JSON output embedded within the twitter.place.attributes element.

The twitter.place.attributes target can be difficult to filter against unless you know exactly what is in there. The twitter.place.attributes.street_address attribute is a lower-level target. Since it is more specific, it is more valuable in filters.

Examples: 

1.  Filter for Tweets from the White House:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The additional street address information that is attached to a Tweet, similar to the twitter.place.attribtutes target.

Example

Filter for Tweets with additional street address information set as London Eye.

twitter.retweet.filter_level

Target service: 
Target object: 
Data type: 

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

Twitter's estimation of the importance of a Retweet. The values are:

  • none
  • low
  • medium
  • high (right now, this one's reserved by Twitter for future use)

The medium and high entries roughly correlate to the "Top Tweets" results for searches on twitter.com.

Here's how it works. Twitter assigns a filter level to each Tweet. For example, I might post a Retweet that Twitter decides to mark as "low", which means that they don't see it as particularly significant. A moment later, you post a Retweet and they mark it as "medium" which is the highest level currently possible.

This DataSift filter will deliver both of our Retweets:

twitter.retweet.filter_level in "low, medium"

 

While this one will find yours but not mine:

twitter.retweet.filter_level in "medium"

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

twitter.retweet.hashtags

Target service: 
Target object: 
Data type: 

A list of hashtags mentioned in a Retweet.

A list of Twitter hashtags mentioned in a Retweet. 

When using this target for filtering, ensure that you use the correct operator with this target.

  • For one hashtag, use the == operator 
  • For a list of two or more hashtags, use the in operator

Since this target is an array and we are filtering for a list of values, we are using the == or in operator (not contains or contains_any).

Examples: 

1.  Filter for Retweets that mention #LadyGaga or #Beyonce or #Shakira":

Note that the argument is "LadyGaga" and not "#LadyGaga"; you do not need to include the hashtag symbol in the CSDL.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A list of Twitter hashtags mentioned in a Retweet. 

When using this target for filtering, ensure that you use the correct operator with this target.

  • For one hashtag, use the == operator 
  • For a list of two or more hashtags, use the in operator

Example

Filter for Retweets that mention the hashtags Apple, Samsung or Android.

twitter.retweet.lang

Target service: 
Target object: 
Data type: 

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

The language a Retweet was written in, as identified by Twitter's machine language detection algorithms. The values are valid BCP 47 language identifiers, and may represent any of the languages listed on Twitter's advanced search page, or "und" if no language could be detected.

DataSift already has a language detection mechanism, of course, offered by our Language augmentation.

Remember that there is a third way to find out which language a user prefers. That's by examining the language the author of a Tweet selected in their Settings page on Twitter. You can filter against this in twitter.user.langtwitter.retweet.user.lang, or twitter.retweeted.user.lang. Take care, though. Users usually choose a language from a drop-down list, and it's usually their main language. There's no guarantee that this is actually their real one or, most importantly, that this is the language of the current Tweet: many users in fact write messages in different languages, so there might be a discrepancy between the language of the tweet and the main language of the user as specified in their profile.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

twitter.retweet.media.display_url

Target service: 
Target object: 
Data type: 

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

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

When an author uploads an image to attach to their Tweet, Twitter automatically assigns it a unqiue display URL that is included in the Tweet, instead of the actual URL to an image. The display URL is also included in Retweets. You can use this target to filter for content if you know the display URL of an image attached to a Retweet.

Examples: 

1.  Filter for Retweets that mention @datasift and include an image with a particular display URL:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

When an author uploads an image to attach to their Tweet, Twitter automatically assigns it a unqiue display URL that is included in the Tweet, instead of the actual URL to an image. The display URL is also included in Retweets. You can use this target to filter for content if you know the display URL of an image attached to a Retweet.

Example

Filter for Retweets that mention @datasift and include an image with the display URL "http://pic.twitter.com/CQJ0CPqc".

twitter.retweet.media.media_url

Target service: 
Target object: 
Data type: 

The URL of an image attached to a Retweet.

The URL of an image attached to a Retweet.

A Retweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. You can use this target to filter for content if you know the URL of a media file included in a Retweet. For instance, suppose a celebrity or brand share an image on Twitter, you can use this target to filter for Retweets of the image and find out what people are Tweeting about it.

Remember, the URL of an image is different than the display URL visible in the Retweet itself. To view the full URL, click on the display URL of an image in a Retweet. Then right-click on the image and click View Image. The full URL is then visible in the address bar of your browser. 

Examples: 

1.  Filter for Retweets that mention Lady Gaga and include a particular image:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL of an image attached to a Retweet. 

A Retweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. You can use this target to filter for content if you know the URL of a media file included in a Retweet. For instance, suppose a celebrity or brand share an image on Twitter, you can use this target to filter for Retweets of the image and find out what people are Tweeting about it.

Remember, the URL of an image is different than the display URL visible in the Retweet itself. To view the full URL, click on the display URL of an image in a Retweet. Then right-click on the image and click View Image. The full URL is then visible in the address bar of your browser. 

Example

Filter for Retweets that mention "@LadyGaga" and include a particular image.

twitter.retweet.media.type

Target service: 
Target object: 
Data type: 

The type of media included in a Retweet.

The type of media included in a Retweet. 

A Retweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. Ensure that when you use this target, you filter for the media type 'photo'. For instance, you can use this target to filter for Retweets that contain an image and mention a particular keyword.

Examples: 

1.  Filter for Retweets with photo media attached and mentioning "music":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The type of media included in a Retweet. 

A Retweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. Ensure that when you use this target, you filter for the media type 'photo'. For instance, you can use this target to filter for Retweets that contain an image and mention a particular keyword.

Example

Filter for Retweets with photo media attached and mentioning Lady Gaga.

twitter.retweet.symbols

Target service: 
Target object: 
Data type: 

The financial symbols (cashtags) in a Retweet.

Financial ticker symbols (cashtags) identify stocks in Tweets. For example, Google stock is $GOOG and Apple stock is $AAPL.

The twitter.symbols target makes it easy to filter for these.

See also: twitter.symbols.

Examples: 

1.  Filter for Retweets that mention Apple or Google stock:

 

2.  Filter for Retweets that mention Microsoft and Intel stock:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

twitter.retweet.user.lang

Target service: 
Target object: 
Data type: 

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

The language a Retweeting user selected from the drop-down list on their Settings page.

Note that the value may be misleading. For example, a user might select French as their mother tongue but compose their Tweets in English. DataSift offers an augmentation called Language which determines the language based on a statistical analysis of 3-letter groups of characters.

The drop-down list shows the full name of the language (English, French, German, and so on) but the twitter.user.lang target contains the two-character code for the language.

Take a look at the list of languages that Twitter supports.

Examples: 

1.  Filter for Retweets from authors who specify French as their preferred language:

2.  Filter for Retweets from authors who specify French as their preferred language but Tweet in English:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The language a Retweeting user selects from the drop-down list on their Twitter Settings page. Note that the value may be misleading. For example, a user might select French as their mother tongue but compose their Tweets in English. DataSift offers an augmentation called Language which determines the language based on a statistical analysis of 3-letter groups of characters.

Example

Filter for Retweets from authors who specify French as their preferred language.

twitter.retweet.user.verified

Target service: 
Target object: 
Data type: 

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

Allows you to filter for Retweets by authors whose accounts have been verified. The verification process typically applies to individuals and organizations in the public eye, and serves to confirm that the person really is who they claim to be. For example, if you visit Lady Gaga's Twitter page, you'll notice a white checkmark over a blue cloud next to her name. This is Twitter's icon for a verified account.

Examples: 

1.  Filter for Retweets by verified users of Tweets by verified users:

2.  Filter for Retweets by unverified users of Tweets by verified users:

3.  Filter for Retweets by verified users of Tweets by unverified users:

Notes: 

1.  This target is an integer. If the account has been verified, twitter.retweet.user.verified is set to 1.

2.  If the user is unverified, the target is not populated.

3.  DataSift offers three similar targets that help you to filter for content by verified users:

   twitter.user.verified Filter for Tweets by verified users
  twitter.retweet.user.verified Filter for Retweets by verified users. The author of the original Tweet might or might not be vertified.
  twitter.retweeted.user.verified Filter for Retweets of Tweets by verified users. The Retweeting user might or might not be verified.
 

 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Allows you to filter for Retweets by users whose accounts have been verified. A verified Twitter account usually belongs to individuals and organizations in the public eye, and serves to confirm that the person really is who they claim to be.

Example

Filter for Retweets from the verified account of Mitt Romney.

 

twitter.retweeted.place.attributes

Target service: 
Target object: 
Data type: 

Additional location information about a Tweet that has been Retweeted.

Additional location information about a Tweet that has been Retweeted.

Examples: 

1.  Filter for Retweets that include twitter.retweeted.place.attributes information:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Additional location information about a Tweet that has been Retweeted.

Example

Filter for Retweets that include location information about the original Tweet.

twitter.retweeted.place.url

Target service: 
Target object: 
Data type: 

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

A URL containing a Twitter API call to retrieve additional place information about the place of origin of a Tweet that has been retweeted. For example, if twitter.retweeted.place.url contains http://api.twitter.com/1/geo/id/d9ebaeaac39060be.json, the Tweet originated from the town of Ourense in Northern Spain.

If you make that API call, Twitter returns a set of points representing a polygon around the town, plus additional meta data.

Examples: 

1.  To see examples of Retweets that include twitter.retweeted.place.url:

Notes: 

Here's the JSON output for that API call for Ourense:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A URL containing a Twitter API call to retrieve additional place information about the place of origin of a Tweet that has been retweeted. If you make that API call, Twitter returns a set of points representing a polygon around the town, plus additional meta data.

 

twitter.retweeted.user.verified

Target service: 
Target object: 
Data type: 

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

Allows you to filter for Retweets of Tweets by authors whose accounts have been verified. The verification process typically applies to individuals and organizations in the public eye, and serves to confirm that the person really is who they claim to be. For example, if you visit Lady Gaga's Twitter page, you'll notice a white checkmark over a blue cloud next to her name. This is Twitter's icon for a verified account.

Examples: 

1.  Filter for Retweets by verified users who have more than 100,000 followers:

2.  Filter for Retweets from verified users with "official" in their username:

Notes: 

1.  This target is an integer. If the account has been verified, twitter.retweeted.user.verified is set to 1.

2.  If the user is unverified, the target is not populated.

3.  DataSift offers three similar targets that help you to filter for content by verified users:

   twitter.user.verified Filter for Tweets by verified users
  twitter.retweet.user.verified Filter for Retweets by verified users. The author of the original Tweet might or might not be vertified.
  twitter.retweeted.user.verified Filter for Retweets of Tweets by verified users. The Retweeting user might or might not be verified.
 

 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Allows you to filter for Retweeted users whose accounts have been verified. A verified Twitter account usually belongs to individuals and organizations in the public eye, and serves to confirm that the person really is who they claim to be.

Example

Filter for Retweets from the verified account of Barack Obama.

twitter.status

Target service: 
Target object: 
Data type: 

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

If the object is a status message from Twitter, this target contains its type. It can take these values:

user_protect The user has protected (made private) their account.
user_unprotect The user has unprotected (made public) their account.
user_suspend Twitter has suspended a user's account.
user_unsuspend Twitter has released the suspension of a user's account.
user_delete Twitter has deleted one a user's account.
user_undelete Twitter has restored a deleted account.
user_withheld Not currently used.
status_withheld Not currently used.

Please refer to our Twitter User Status Messages documentation for guidelines on how to process each of these messages.

Examples: 

1.  Filter for users who have unprotected their Twitter account. That is, formerly private accounts that have recently been made public:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

Example

Filter for Tweets from users who have their deleted Twitter account restored.

twitter.symbols

Target service: 
Target object: 
Data type: 

The financial symbols (cashtags) in a Tweet.

Financial ticker symbols (cashtags) identify stocks in Tweets. For example, Google stock is $GOOG and Apple stock is $AAPL.

The twitter.symbols target makes it easy to filter for these.

See also: twitter.retweet.symbols.

Examples: 

1.  Filter for Tweets that mention Google or Apple stock:

Notice that we omit the $ symbol.

2.  Filter for Tweets that mention Microsoft and Intel stock:

Again, notice that we omit the $ symbol.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

twitter.user.*.* languages

At signup, Twitter users can indicate their native language. This appears in these DataSift targets:

 

The list Is expanding over time. At the time of writing, Twitter offers:

  • Arabic (ar)
  • Basque (eu)
  • Catalan (ca)
  • Czech (cs)
  • Danish (da)
  • Dutch (nl)
  • English (en)
  • Farsi (fa)
  • Filipino (fil)
  • Finnish (fi)
  • French (fr)
  • Galician (gl)
  • German (de)
  • Greek (el)
  • Hebrew (he)
  • Hindi (hi)
  • Hungarian (hu)
  • Indonesian (id)
  • Italian (it)
  • Japanese (ja)
  • Lolcatz (lolc)
  • Korean (ko)
  • Malay (msa)
  • Norwegian (no)
  • Polish (pl)
  • Portuguese (pt)
  • Romainian (ro)
  • Russian (ru)
  • Simplified Chinese (zh-cn)
  • Spanish (es)
  • Swedish (sv)
  • Thai (th)
  • Traditional Chinese (zh-tw)
  • Turkish (tr)
  • Ukranian (uk)
  • Urdu (ur)
Tweet: 

twitter.user.favourites_count

Target service: 
Target object: 
Data type: 

The number of Tweets a user has favorited.

The number of Tweets a user has favorited.

Twitter use the UK spelling, "favourite_count" in their output, and we follow their convention, both in our target name and our output.

Examples: 

1.  Filter for Tweets about ice cream from users who have favorited more than 50 Tweets:

Notes: 

Take care when you use this target in isolation. For example, this filter for Tweets from users who have favorited more than 25 Tweets looks fine, but since most Twitter users have favorited that many Tweets, your filter will return almost the entire content of Twitter in real time:

    twitter.user.favourites_count > 25  

If you ran this filter you would quickly reach your rate limit.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

twitter.user.verified

Target service: 
Target object: 
Data type: 

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

Allows you to filter for Tweets by authors whose accounts have been verified. The verification process typically applies to individuals and organizations in the public eye, and serves to confirm that the person really is who they claim to be. For example, if you visit Lady Gaga's Twitter page, you'll notice a white checkmark over a blue cloud next to her name. This is Twitter's icon for a verified account.

Examples: 

1.  Filter for verified users with more than 100,000 followers:

2.  Filter for Tweets from unverified users with "official" in their username:

Notes: 

1.  This target is an integer. If the account has been verified, twitter.user.verified is set to 1.

2.  If the user is unverified, the target is not populated.

3.  DataSift offers three similar targets that help you to filter for content by verified users:

   twitter.user.verified Filter for Tweets by verified users
  twitter.retweet.user.verified Filter for Retweets by verified users. The author of the original Tweet might or might not be vertified.
  twitter.retweeted.user.verified Filter for Retweets of Tweets by verified users. The Retweeting user might or might not be verified.
 

 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Indicates whether a Twitter account is verified. A verified Twitter account usually belongs to individuals and organizations in the public eye, and serves to confirm that the person really is who they claim to be.

Example

Filter for Tweets from the verified account of Barack Obama.

twitter.retweet.user.listed_count

Target service: 
Target object: 
Data type: 

The number of lists a Retweeting user appears in.

The number of Twitter lists that the person making a Retweet appears in.

Examples: 

1.  Filter for Retweets from people who appear on more than 300 lists:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of Twitter lists that the person making a Retweet appears in.

Example

Filter for Tweets from users who appear in more than 300 Twitter lists.

twitter.retweet.user.location

Target service: 
Target object: 
Data type: 

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

The string description of the Twitter user's location. This is supplied by the Twitter user on their profile page. It is a free-form field, so they can type anything they choose to:

  • America
  • NYC
  • New York City
  • NY, NY
  • With my family
Examples: 

1.  Filter for Retweets from people who include Japan in their location description:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The string description of the Twitter user's location. This is supplied by the Twitter user on their profile page. It is a free-form field, so they can type anything they choose to.

Example

Filter for Retweets from people who include Japan in their location description.

twitter.retweet.user.name

Target service: 
Target object: 
Data type: 

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

A Retweeting user's 'real' name. Since this is a free-text entry field in the Twitter settings, it could contain anything. It could be the user's genuine name, perhaps augmented with a title (such as Dr or Professor), a suffix (such as "BA" or "Jnr" or "III"), or a post nominal (such as "FRSC" or "FAIA") indicating membership of an organization or professional body.

The range of possibilities is wide and includes obvious parody accounts, and accounts that are run by companies or organizations. For instance, the @climagic account, which Tweets about Unix-based computer operating systems, has a "real name" of Command Line Magic.

Note that a Twitter user can adjust their real name over time. They can change their screenname (for example @LadyGaga) too, but their Twitter id cannot be changed.

Examples: 

1.  Filter for Retweets from users who include "doctor" in their real name:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A Retweeting user's real name. Since this is a free-text entry field in the Twitter settings, it could contain anything. It could be the user's genuine name, perhaps augmented with a title (such as Dr or Professor), a suffix (such as "BA" or "Jnr" or "III"), or a post nominal (such as "FRSC" or "FAIA") indicating membership of an organization or professional body.

Example

Filter for Retweets from users who have included "doctor" in their real name.

twitter.retweet.user.profile_age

Target service: 
Target object: 
Data type: 

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

The number of days since a Retweeting user joined Twitter.

Examples: 

1.   Filter for Retweets from authors who joined Twitter more than 3 years ago:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of days since a Retweeting user joined Twitter.

Example

Filter for Retweets from people who are in their second month of membership of Twitter.

twitter.retweet.user.screen_name

Target service: 
Target object: 
Data type: 

The Retweeting user's Twitter username.

The Twitter username of the person who made the Retweet.

Examples: 

1.  Filter for Tweets from authors who include "marketing" in their Twitter username:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The Twitter username of the person who Retweeted a Tweet.

Example

Filter for Retweets from users who include "marketing" in their Twitter username.

twitter.retweet.user.statuses_count

Target service: 
Target object: 
Data type: 

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

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

You can use this, for example, to filter for Retweets from users who have posted more than 20,000 messages.

Examples: 

1.  Filter for Retweets from prolific Twitterers:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

Example

Filter for Retweets from users who have Tweeted or Retweeted more than 20,000 times.

twitter.retweet.user.time_zone

Target service: 
Target object: 
Data type: 

The Retweeting user's time zone.

The time zone that a Retweeting user selected in their Twitter settings.

Examples: 

1.  Filter for Retweets from the same time zone as Tokyo:

2.  Filter for Retweets from users who have not set London as their time zone:

Notes: 

The twitter.retweet.user.time_zone target is a string. It takes these values:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The time zone that a Retweeting user selected in their Twitter settings.

Example

 Filter for Retweets from users who have set New York City as their time zone.

twitter.retweet.user.url

Target service: 
Target object: 
Data type: 

The URL a Retweeting user added in their Twitter profile.

 

The URL a retweeting user added in their Twitter profile.

Examples: 

1.  Filter for Retweets that include a twitter.retweet.user.url:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL a retweeting user added in their Twitter profile.

Example

Filter for Retweets that include a twitter.retweet.user.url.

twitter.retweeted.id

Target service: 
Target object: 
Data type: 

The unique ID of the Tweet that was Retweeted.

The unique ID of the Tweet that was Retweeted. It is stored as a string.

Note that Twitter treats user IDs and Tweet IDs differently.

Examples: 

1.  If you know a ID of a Tweet, you can filter for all new Retweets of that original Tweet:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The unique id of the Tweet that was Retweeted

Example

Filter for all new Retweets of an original Tweet by its unique id.

twitter.retweet.mentions

Target service: 
Target object: 
Data type: 

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

A list of Twitter usernames mentioned in a Tweet that was Retweeted.

Examples: 

1.  Filter for Retweets of Tweets that mention @rihanna by her Twitter username:

Note that the target is an array and we are filtering for just one value so we use the == operator.

2.  Filter for Retweets of Tweets that mention @rihanna or @Ladygaga by their Twitter username:

Note that the target is an array and we are filtering for one value from a list so we use the in operator.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

Example

Filter for Retweets of Tweets that mention @rihanna or @Ladygaga by their Twitter username.

twitter.retweet.mention_ids

Target service: 
Target object: 
Data type: 

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

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

Take care to use the correct operator with this target. As the examples show, use == if you are filtering for just one username and use in if you are filtering for a list of two or more usernames.

Examples: 

1.  Filter for Retweets that mention @ladygaga by the Twitter id 14230524:

Remember that the target is an array and we are filtering for just one value so we use the == operator.

2. Filter for Retweets that mention any of the Twitter ids from a list of ids:

Since the target is an array and we are filtering for one value from a list, so we use the in operator.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

Take care to use the correct operator with this target. As the examples show, use == if you are filtering for just one username and use in if you are filtering for a list of two or more usernames.

Example

Filter for Retweets that mention @Beyonce by their Twitter id 31239408.

twitter.retweeted.place.country

Target service: 
Target object: 
Data type: 

The country of origin of a Tweet that was Retweeted.

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.retweeted.place.* targets are unpopulated for that Tweet.

 

The country that corresponds to the location supplied for the original Tweet. This target holds no information about the Twitter user who made the Retweet.

When a Tweet is Retweeted, twitter.place.country is copied to twitter.retweeted.place.country.

Examples: 

1.  Filter for Retweets of Tweets made by users who indicatted that they're located in Canada:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The country that corresponds to the location for an original Tweet that is being Retweeted.

Example

Filter for Tweets originally made by users located in Canada, that are being Retweeted.

twitter.retweeted.place.country_code

Target service: 
Target object: 
Data type: 

The country code for a Retweeted Tweet.

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.retweeted.place.* targets are unpopulated for that Tweet.

 

The two-character country code that corresponds to the location for an original Tweet that is being Retweeted.

When a Tweet is Retweeted, twitter.place.country_code is copied to twitter.retweeted.place.country_code.

You can learn more about country codes at this Wikipedia page.

Examples: 

1.  Filter for Retweets of Tweets for which the user-supplied location information is in Canada:

 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The two-character country code that corresponds to the location for an original Tweet that is being Retweeted.

When a Tweet is Retweeted, twitter>>place>>country code is copied to twitter>>retweeted>>place>>country code.

Example

Filter for Retweets of Tweets posted in Canada.

twitter.retweeted.place.full_name

Target service: 
Target object: 
Data type: 

Full name of the origin of a Retweeted Tweet.

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.retweeted.place.* targets are unpopulated for that Tweet.

 

The full name of the location the Twitter user supplied for an original Tweet that is being Retweeted. The user chooses from a Twitter database of locations.

For example:

  • York, Ontario
  • Division No. 11, Alberta
  • Greater Vancouver, British Columbia
  • Halifax, Nova Scotia

When a Tweet is Retweeted, twitter.place.full_name is copied to twitter.retweeted.place.full_name.

See also: twitter.retweeted.place.name.

Examples: 

1.  Filter for Retweets of Tweets for which the user-supplied location information is London, England:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The full name of the location the Twitter user supplied for an original Tweet that is being Retweeted. The user chooses from a Twitter database of locations.

For example:

  • York, Ontario
  • Division No. 11, Alberta

When a Tweet is Retweeted, twitter>>place>>full_name is copied to twitter>>retweeted>>place.full_name.

Example

Filter for Tweets from London, England that are being Retweeted.

twitter.retweeted.place.name

Target service: 
Target object: 
Data type: 

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

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.retweeted.place.* targets are unpopulated for that Tweet.

 

Typically, a shortened version of twitter.retweeted.place.full_name. For example:

If twitter.retweeted.place.full_name is this: twitter.retweeted.place.name might be this:
Charlotte, NC Charlotte
London, England London
Division No. 11, Alberta Division No. 11

 

Note that there is a one-to-one mapping from twitter.place.full_name to twitter.place.name but a one-to-many mapping in the reverse direction.

In other words, this filter:

    twitter.retweeted.place.full_name == "London, England"

always produces objects with twitter.place.name set to "London".

But this filter:

    twitter.retweeted.place.name == "London"

produces objects with twitter.retweeted.place.full_name set to "London, England" or "London, Ohio" or other values.

Examples: 

1.  Filter for Retweets of Tweets for which the user-supplied location information is London. There are several cities called London, and this filter delivers results from them all:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A shortened version of the name of the location from which a Tweet that is being Retweeted, was posted.

Typically, a shortened version of twitter>>retweeted>>place>>full name. For example:

If the full name is this: The placename might be this:
Charlotte, NC Charlotte
London, England London
Division No. 11, Alberta Division No. 11

Note that there is a one-to-one mapping from twitter.place.full_name to twitter.place.name but a one-to-many mapping in the reverse direction.

Example

Filter for Retweets of Tweets origiinally posted in London. There are several cities called London, and this filter delivers results from them all.

twitter.retweeted.place.place_type

Target service: 
Target object: 
Data type: 

The type of location a Retweeted Tweet was made from.

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.retweeted.place.* targets are unpopulated for that Tweet.

 

The place_type supplied by Twitter. Consult Twitter's documentation for further details. Typical values are:

  • admin
  • city
  • country
  • neighborhood
  • poi

The poi value indicates a point of interest such as Stonehenge or Niagara Falls.

Examples: 

1.  Filter for Retweets of Tweets from points of interest:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The place_type supplied by Twitter. Typical values are:

  • admin
  • city
  • country
  • neighborhood
  • poi, indicates a point of interest such as Stonehenge or Niagara Falls.

Example

Filter for messages from likely tourist locations that mention a particular airline, hotel chain, restaurant chain, or beverage brand.

twitter.retweeted.source

Target service: 
Target object: 
Data type: 

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

The source of an original Tweet that is being Retweeted. For example, "web" indicates that the original Tweet was posted via Twitter's website whereas "TweetDeck" indicates that it came from the TweetDeck Twitter client.

Examples: 

1.  Filter for Tweets that were not sent from the Twitter.com user interface:

2.  Filter for people Tweeting from a Blackberry:

Notice that we use the substr operator here because there is more than one Twitter client for the Blackberry.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The source of an original Tweet that is being Retweeted. For example, "web" indicates that the original Tweet was posted via Twitter's website whereas "TweetDeck" indicates that it came from the TweetDeck Twitter client.

Example

Filter for Retweets that were originally sent from a Blackberry.

twitter.retweeted.user.description

Target service: 
Target object: 
Data type: 

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

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

Examples: 

1.  Filter for Retweets of Tweets posted by people who include the term "marketing" in their Twitter bio:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The biography information of the Twitter user whose Tweet is being Retweeted.

Example

Filter for Retweets of Tweets written by users who include the term "technology" in their Twitter bio.

twitter.retweeted.user.followers_count

Target service: 
Target object: 
Data type: 

The number of followers a Retweeted author has.

The number of followers the author of a Retweeted Tweet has on Twitter.

Note that this data concerns the Retweeted author. It does not contain any information about the person who made the Retweet.

Examples: 

1.   Filter for Retweets of Tweets from popular Twitterers:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of followers the author of a Retweeted Tweet has on Twitter.

Note that this data concerns the Retweeted author. It does not contain any information about the person who made the Retweet.

Example

Filter for Retweets of Tweets written by people who have more than 1,000 followers.

twitter.retweeted.user.follower_ratio

Target service: 
Target object: 
Data type: 

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

The number of people who follow a Retweeted Twitter user divided by the number of people the user follows.

Examples: 

1.  Filter for Retweets of Tweets by authors who are followed by 10 times more people than they follow:

2.  Filter for Retweets of Tweets by authors who have posted more than 10,000 Tweets and who are followed by 50 times more people than they follow:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The ratio of the number of people who follow a Retweeted Twitter user and the number of people the user follows.

Example

Filter for Retweets of Tweets by authors who are followed by 10 times more people than they follow.

twitter.retweeted.user.friends_count

Target service: 
Target object: 
Data type: 

The number of people a Retweeted user follows.

The number of people the Retweeted user follows.

Examples: 

1.  Filter for Retweets of material from authors who follow more than 1,000 people:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of people a Retweeted user follows.

Example

Filter for Retweets from users who follow more than 500 people.

twitter.retweeted.user.id

Target service: 
Target object: 
Data type: 

The Twitter id of a Retweeted user.

A Retweeting user's unique id on Twitter. For example, the Twitter id for the @DataSift Twitter account is 155505157.

The id is not exposed on the Twitter website but can be used if you write code to access the Twitter API.

Note that Twitter treats user IDs and Tweet IDs differently.

Examples: 

1.  Filter for Retweets of Tweets from DataSift:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A Retweeting user's unique id on Twitter. For example, the Twitter id for the @DataSift Twitter account is 155505157.

The id is not exposed on the Twitter website but can be used if you write code to access the Twitter API.

Example

Filter for Retweets by DataSift by our unique id 155505157.

twitter.retweeted.user.lang

Target service: 
Target object: 
Data type: 

Two-character language code for the language the Retweeted user has set Twitter to.

The language the Twitter user selected from the drop-down list on their Settings page.

Note that the value may not be reliable. For example, a user might select French as their mother tongue but compose their Tweets in English. DataSift offers an augmentation called Language which determines the language based on a statistical analysis of 3-letter groups of characters.

The drop-down list shows the full name of the language (English, French, German, and so on) but the twitter.user.lang target contains the two-character code for the language.

Take a look at the list of languages that Twitter supports.

Examples: 

1.   Filter for Retweets of Tweets from authors who specify French as their preferred language:

2.   Filter for Retweets of Tweets from authors who specify French as their preferred language but Tweet in English:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The language a Retweeted Twitter user selected on their Settings page. 

It is an indication of their primary language but it might be misleading. For example, a user might select French as their mother tongue but compose their Tweets in English. DataSift offers an augmentation called Language which determines the language based on a statistical analysis of groups of characters.

Example

Filter for Retweets of Tweets from users who specify French as their preferred language.

twitter.retweeted.user.listed_count

Target service: 
Target object: 
Data type: 

Number of lists this Retweeted User is listed in.

The number of Twitter lists that the author of the original Tweet appears on.

This target holds no information about the person who made the Retweet.

Examples: 

1.  Filter for Retweets of Tweets from people who appear on more than 10,000 lists:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of lists on which the Twitter user, who has Retweeted a Tweet, appears.

Example

Filter for Retweets of Tweets from people who appear on more than 100 lists.

twitter.retweeted.user.location

Target service: 
Target object: 
Data type: 

The string description of the Retweeted Twitter User has posted.

The string description of the Twitter user's location. This is supplied by the Twitter user in the Location field on their Profile page. It is a freeform field, so they can type anything they choose to:

  • America
  • Greenwich
  • Example Road
  • Number 42
  • With my family
Examples: 

1.  Filter for Retweets of Tweets from people who include Japan in their location description:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The string description of a Retweeted Twitter user's location. This is supplied by the Twitter user in the Location field on their Profile page. It is a freeform field, so they can type anything they choose.

Example

Filter for Retweets of Tweets from authors who state that they live in "my home".

twitter.retweeted.user.name

Target service: 
Target object: 
Data type: 

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

The Retweeted user's real name.

Examples: 

1.   Filter for Retweets of Tweets from users who have included "doctor" in their real name:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The real name supplied by a Retweeted user on Twitter. Since this is a free-text entry field in the Twitter settings, it could contain anything. It could be the user's genuine name, perhaps augmented with a title (such as Dr or Professor), a suffix (such as "BA" or "Jnr" or "III"), or a post nominal (such as "FRSC" or "FAIA") indicating membership of an organization or professional body.

Alternatively, the name might indicate a parody account, or an account run by a company or organization.

Example

Filter for Retweets of Tweets from users that inclue "PhD" in their real name.

twitter.retweeted.user.profile_age

Target service: 
Target object: 
Data type: 

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

The number of days since the author of the original Tweet joined Twitter.

Note that this target holds no information about the person who sent the Retweet.

Examples: 

1.   Filter for Retweets of Tweets from authors who joined Twitter more than three years ago:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of days since a Retweeted user joined Twitter.

Example

Filter for Retweeted Tweets from users who have been Twitter members for more than a year.

twitter.retweeted.user.screen_name

Target service: 
Target object: 
Data type: 

The Retweeted user's Twitter username.

The Twitter username of the author of the original Tweet.

Examples: 

1.  Filter for Retweets of Tweets from Lady Gaga:

2.  Filter for Retweets of Tweets from official DataSift accounts or DataSift's senior management.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A Retweeted user's Twitter username. 

Example

Filter for Retweets of Tweets from users who include "Lady" in their Twitter username.

twitter.retweeted.user.statuses_count

Target service: 
Target object: 
Data type: 

The number of Tweetsand Retweets a Retweeted Twitter user has posted.

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

Examples: 

1.   Filter for Retweets of Tweets from prolific Twitterers:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

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

Example

Filter for Tweets and Retweets from people who have posted more than 100,000 messages.

twitter.retweeted.user.time_zone

Target service: 
Target object: 
Data type: 

The Retweeted user's time zone.

The time zone that the Twitter user selected on their Settings page. This is the time zone for the original author, not for the person who Retweeted.

Examples: 

1.   Filter for Retweets of Tweets from the same time zone as Tokyo:

2.   Filter for Retweets of Tweets from users who have not selected London as their time zone:

Notes: 

twitter.retweeted.user.time_zone is a string. It takes these values:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The time zone that a Reetweeted Twitter user has selected in their Twitter Settings. For a complete list of the timezones that you can use, please consult out developer documentation.

Example

Filter for Retweets of Tweets from people in the San Francisco timezone.

twitter.retweeted.user.url

Target service: 
Target object: 
Data type: 

The URL the retweeted user included in their Twitter profile.

The URL the retweeted user included in the Website field in their Twitter profile.

 

Examples: 

1.  Look for retweets that include a twitter.retweeted.user.url:

2.  Filter for Retweeted Tweets from users who who include apple.com in the Website field in their settings page.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL a Retweeted user has included in their Twitter profile.

Example

Filter for Retweeted Tweets from users who who include apple.com in their Twitter profile.

Retweet Output Format

This object is an example of the format of a Retweet after DataSift has normalized and augmented the content:

Keywords: 
Tweet: 

Twitter IDs

Twitter has different types of IDs

  • IDs that identify users uniquely
  • IDs that identify Tweets and Retweets uniquely
ID: Type:
User ID int
Tweet or Retweet ID string

For example:The popularity of Twitter means that Tweet IDs now exceed 32 bits so they are now presented as strings.

    twitter.user.id == 155505157 and twitter.retweeted.id == "104502373526945792"

Tweet: 

Twitter User Information

The twitter.user namespace exists for Tweets but not for Retweets so this filter ignores Lady Gaga's Retweets:

    twitter.user.screen_name == "ladygaga"

To find Retweets only, use this code:

    twitter.retweet.user.screen_name == "ladygaga"

To find Lady Gaga's Tweets and Retweets:

    interaction.author.username == "ladygaga"

Tweet: 

Twitter Input Format

This object is an example of the format of a Tweet when it first reaches DataSift:

Tweet: 

Twitter Location Information

By default Twitter disables location information.

Twitter users can opt in by selecting "Add a location to your Tweets" on their Settings page.

The content of twitter.place.place_type is blank unless they opt in. Further, users choose on a Tweet-by-Tweet basis whether to include place information.

 

Once users have opted in, they must select a location known to Twitter. Based on the user's selection, Twitter includes additional information such as:

  • The type of the location (such as city)
  • The country
  • The 2-character country code

Note that Twitter performs no verification on this field so users are not forced to enter accurate information. A user in New York City is free to enter Edinburgh, Scotland as their location.

 

Tweet: 

Tweet Output Format

This object is an example of the format of a Tweet after DataSift has normalized and augmented the content:

Keywords: 
Tweet: 

Facebook

Keywords: 
[view:targets_by_target_objects=block=Facebook]
Tweet: 

facebook.application

Target service: 
Data type: 

The application that generated an update.

The application that generated a Facebook post. For example:

  • Facebook for Every Phone
  • Facebook for Blackberry® smartphones
  • Windows Phone
Examples: 

1.  Filter for content from applications that include "phone" in their name:

Tweet: 
GUI Tooltip: 

Summary

The mobile application that generated a Facebook post. 

Example

Filter for Facebook content from the application Facebook for Blackberry® smartphones.

facebook.author.avatar

Target service: 
Data type: 

A link to an author's avatar.

A link to an author's avatar.

Examples: 

1.  This target is rarely used in filtering, but the data is delivered in the output object. Your client software can process it if you chose to use it. To see examples of facebook.author.avatar:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to the avatar of a Facebook user.

Example

This target is rarely used in filtering, but the data is delivered in the output object.

facebook.author.id

Target service: 
Data type: 

A Facebook author's id.

An author's unique Facebook id. It is numeric but held in a string.

Examples: 

1.  To see some objects that have Facebook author ids:

2.   To search for post from an author using their id. Note that the argument is a string:

Tweet: 
GUI Tooltip: 

Summary

The unique id assigned to a Facebook user.

Example

Filter for Facebook posts from a particular Facebook user by their id.

facebook.author.link

Target service: 
Data type: 

A link to an author's Facebook profile page.

A link to an author's Facebook profile page.

Examples: 

1.  Filter for content from authors based on their Profile page only:

2.  Filter for a particular Profile page:

Tweet: 
GUI Tooltip: 

Summary

The URL to a Facebook user's profile page.

Example

 Filter for Facebook content from a particular user by a link to their profile page.

facebook.author.name

Target service: 
Data type: 

An author's real name on Facebook.

An author's real name on Facebook. This is supplied on signup but it can subsequently be changed by the user.

Examples: 

1.  Filter for content from authors who include "apple" in their name:

2.  Filter for content from authors with the name "Joe Smith":

Tweet: 
GUI Tooltip: 

Summary

The real name supplied by a Facebook user.

Example

 Filter for Facebook content from users who include "Jobs" in their name.

facebook.caption

Target service: 
Data type: 

The contents of the Facebook caption.

The caption for a Facebook post.

This type of message:

Has a facebook.caption:

status

no

link

yes

photo

yes

video

yes

 

Examples: 

1.  Filter for Facebook videos that include "nascar" in their caption:

Tweet: 
GUI Tooltip: 

Summary

The caption to a Facebook post such as a link, a photo, and a video.

Example

Filter for Facebook content that includes "football" in their caption.

facebook.description

Target service: 
Data type: 

The content of the Facebook description.

The description for a Facebook post.

This type of message:

Has a facebook.description:

status

no

link

yes

photo

yes

video

yes

Examples: 

1.   Filter for photographs that include "apple" in the description:

Tweet: 
GUI Tooltip: 

 

Summary

The description text accompanying a Facebook post such as a link, a photo, and a video. 

Example

Filter for Facebook content where description mentions the word "iPhone 5".

facebook.likes.count

Target service: 
Data type: 

The number of times that a Facebook post has been "liked".

The number of times that a Facebook post has been "liked". 

 

Examples: 

1.  Filter for Facebook posts that have been "liked" more than five times:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of times that a Facebook post has been "liked".

Example

Filter for posts that have been "liked" at least 30 times.

facebook.likes.ids

Target service: 
Data type: 

A list of the ids of Facebook members who have "liked" a post.

Filter for Facebook posts that have been "liked" by specified Facebook user. With this targert, you specify the user by their Facebook id.

Note that the argument is an array of int values.

See also facebook.likes.names.

Examples: 

1.  Filter for Facebook posts that have been "liked" by a specified Facebook user:

2.  Filter for Facebook posts that have been "liked" by any member of a list of Facebook users:

Array: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The user ids of Facebook users who have "liked" a post.

Example

Filter for Facebook content that has been "liked" by a specific Facebook user based on their user id.

facebook.likes.names

Target service: 
Data type: 

A list of the names of Facebook members who have "liked" this post.

A list of the names of Facebook members who have "liked" this post.

Filter for Facebook posts that have been "liked" by specified Facebook users. With this targert, you specify users by their Facebook name.

See also facebook.likes.ids.

Examples: 

1.  Filter for Facebook posts that have been "liked" by a specified Facebook user:

2.  Filter for Facebook posts that have been "liked" by any member of a list of Facebook users:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The names of Facebook users who have "liked" this post.

Examples

Filter for Facebook content that has been "liked" by users with the name "Bill Gates".

facebook.link

Target service: 
Data type: 

The link contained in a post.

The link contained in a Facebook post.

This type of message: Has facebook.link:

status

no

link

yes

photo

yes

video

yes

Examples: 

1.  Filter for Facebook posts that link to content on Flickr:

Tweet: 
GUI Tooltip: 

Summary

The URL contained in a Facebook post such as a link, a photo, and a video.

Example

Filter for Facebook content with a URL containing "nytimes.com".

facebook.message

Target service: 
Data type: 

The content of a Facebook message.

The main content of a post on Facebook.

Examples: 

1.  Filter for content that mentions "apple":

2.  Filter for content that mentions "Apple" and does not mention "Microsoft":

Tweet: 
GUI Tooltip: 

Summary

The main content of a post on Facebook.

Example

Filter for Facebook content that mentions Burberry.

facebook.name

Target service: 
Data type: 

The Facebook name assigned to a post.

The name associated with a Facebook status update, link, picture, or video.

Examples: 

1.  Filter for content that has "music" in the facebook.name:

2.  Filter for an exact match against "Lady Gaga video":

Tweet: 
GUI Tooltip: 

Summary

The name associated with a Facebook status update, link, picture, or video.

Example

Filter for Facebook content that contains "Lady Gaga" in the name.

facebook.og.by

Target service: 
Data type: 

The Open Graph 'by' for a post.

The Open Graph 'by' information for a Facebook post.

To learn more, visit Facebook's Open Graph developer's page or look at the Open Graph protocol.

Examples: 

1.  To see Facebook messages that include Open Graph facebook.og.by information:

Tweet: 
GUI Tooltip: 

Summary

The Open Graph 'by' information for a Facebook post.

Example

Filter for Facebook content using the Open Graph 'by' information of a Facebook post.

facebook.og.description

Target service: 
Data type: 

The Open Graph description for a post.

The Open Graph description information for a Facebook post.

To learn more, visit Facebook's Open Graph developer's page or look at the Open Graph protocol.

Examples: 

1.  To see Facebook messages that include Open Graph description information:

Tweet: 
GUI Tooltip: 

Summary

The Open Graph 'description' information for a Facebook post.

Example

Filter for Facebook content using the Open Graph 'description' information of a Facebook post.

facebook.og.length

Target service: 
Data type: 

The Open Graph length for a post.

The Open Graph length information for a Facebook post.

To learn more, visit Facebook's Open Graph developer's page or look at the Open Graph protocol.

Examples: 

1.  To see Facebook messages that include Open Graph length information:

Tweet: 
GUI Tooltip: 

Summary

The Open Graph 'length' information for a Facebook post.

Example

Filter for Facebook content using the Open Graph 'length' information of a Facebook post.

facebook.og.location

Target service: 
Data type: 

The Open Graph Location for a post.

The Open Graph location information for a Facebook post.

To learn more, visit Facebook's Open Graph developer's page or look at the Open Graph protocol.

Examples: 

To see Facebook messages that include an Open Graph location:

Tweet: 
GUI Tooltip: 

Summary

The Open Graph 'location' information for a Facebook post.

Example

Filter for Facebook content using the Open Graph 'location' information of a Facebook post.

facebook.og.photos

Target service: 
Data type: 

The Open Graph photos information for a post.

The Open Graph photos information for a Facebook post.

To learn more, visit Facebook's Open Graph developer's page or look at the Open Graph protocol.

Examples: 

1.  To see Facebook messages that include Open Graph photographs:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The Open Graph 'photos' information for a Facebook post.

Example

Filter for Facebook content using the Open Graph 'photos' information of a Facebook post.

facebook.og.title

Target service: 
Data type: 

The Open Graph title for a post.

The Open Graph title for a Facebook post.

To learn more, visit Facebook's Open Graph developer's page or look at the Open Graph protocol.

Examples: 

1.   To see Facebook posts that include an Open Graph title:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The Open Graph 'title' information for a Facebook post.

Example

Filter for Facebook content using the Open Graph 'title' information of a Facebook post.

facebook.og.type

Target service: 
Data type: 

The Open Graph type for a post.

The Open Graph type information for a Facebook post.

To learn more, visit Facebook's Open Graph developer's page or look at the Open Graph protocol.

Examples: 

1.  To see Facebook messages that include Open Graph type information:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The Open Graph 'type' information for a Facebook post.

Example

Filter for Facebook content using the Open Graph 'type' information of a Facebook post.

facebook.source

Target service: 
Data type: 

The name and id of the source application that generated this data.

The name and id of the source application that generated this data. For example:

If facebook.application contains:

facebook.source might contain:

LG Phone

LG Phone (53702860994)

Facebook for iPhone

Facebook for iPhone (6628568379)

Facebook for Every Phone

Facebook for Every Phone (139682082719810)

Facebook for BlackBerry® smartphones

Facebook for BlackBerry® smartphones

Examples: 

1.  Filter for content from applications that include "phone" in their source:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The name and id of the source application that generated the Facebook content.

Example

Filter for Facebook content from iPhone users by specifying "iPhone, 6628568379".

facebook.to.ids

Target service: 
Data type: 

List of Facebook user ids that a message was send to.

An array of strings containing the Facebook ids of all the Facebook users a post was written to.

Another array of strings, facebook.to.names, contains their names.

Examples: 

1.  To see Facebook messages that include a specified facebook.to.ids:

2.  To see Facebook messages that include at least one of these facebook.to.ids:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The user ids of Facebook members to whom a message was sent to.

Example

Filter for Facebook messages that include a specified Facebook user.

facebook.to.names

Target service: 
Data type: 

List of Facebook user names a message was sent to.

An array of strings containing the Facebook names of all the Facebook users a post is written to.

DataSift offers another target, facebook.to.ids, which is an array of their ids.

Examples: 

1.   To see Facebook messages that include one specified value for facebook.to.names:

2.  To see Facebook messages that include at least one name from a list of facebook.to.names:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The list of Facebook usernames a message was sent to.

Example

Filter for Facebook messages that were sent to a specified Facebook username.

facebook.type

Target service: 
Data type: 

The type of an update.

The type of message the author has posted on Facebook:

  • status
  • link
  • photo
  • video
Examples: 

1.  Filter for messages that contain videos:

2.   Filter for messages that contain neither photographs nor videos:

Tweet: 
GUI Tooltip: 

Summary

The type of content a user has posted on Facebook. It can be either a status message, a link, a photo, or a video.

Example

Filter for status updates and links posted on Facebook.

2channel

A Note for Developers

When you write external code for 2channel, bear in mind that some languages (including Java and PHP) cannot handle variable names that start with a number.

If you write purely in CSDL, you do not need to take any special precautions. If you write external code using DataSift's client libraries, the libraries will handle the issue for you (as they use the array notation) so, again, you do not need to take any additional action.

However, if you write external code that hits a DataSift API directly, be aware that you must take extra care. For example, in PHP you might avoid the problem by changing this code:

    $obj->2ch->author->name

to this code:

    $xyz = "2ch";
    $obj->{$xyz}->author->name

or this code:

    $obj->{'2ch'}->author->name

An alternative approach is to work in array notation rather than object notation, to ensure that you avoid problems:

    $interaction['2ch']['author']['name'];

[view:targets_by_target_objects=block=2ch]
Tweet: 

2ch.author.name

Target service: 
Data type: 

The real name supplied by the author of a post.

The real name supplied to 2Channel by the author of a post.

Examples: 

1.  Filter for content from one named author:

2.  Filter for content from anyone named "xyz":

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The name associated with content from 2Channel data source.

Example

Filter for 2Channel content from users with "John" in their real name.

2ch.content

Target service: 
Data type: 

The text of a 2ch post.

The text of a 2Channel post. The majority of 2Channel content is written in Japanese. There is some content in English.

Examples: 

1.  Filter for posts that mention the "iPad":

Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The text contained in a 2Channel post. 

Example

Filter for 2Channel content for posts containing "iPad".

2ch.contenttype

Target service: 
Data type: 

Currently this is always set to "HTML".

Currently this is always set to "HTML".

Examples: 

1.  At the time of writing, the format is always "HTML" but this filter checks whether any new formats are available.

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The format of a 2Channel interaction.

Example

Filter for 2Channel content with "HTML" as its default format.

2ch.link

Target service: 
Data type: 

A link to an original post.

A link to an original post.

Examples: 

1.  To see some examples of the content of 2ch.link:

2.  Filter for a particular value in 2ch.link:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

A URL to 2Channel content.

Example

This target is rarely used for filtering. You can filter using this target if you have the direct URL for 2Channel content.

2ch.thread

Target service: 
Data type: 

A link to a complete message board thread.

A link to a complete message board thread.

Examples: 

1.  To see examples of the content of 2ch.thread:

Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a complete 2Channel thread.

Example

This target is rarely used for filtering. You can filter using this target if you have the direct URL for a 2Channel thread.

2ch.title

Target service: 
Data type: 

The title of a post.

The title of a post.

Examples: 

1.  Filter for 2channel posts that include "iPad" in their title:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The title of a post on 2Channel.

Example

Filter for 2Channel posts that mention the Apple in their title.

2ch.type

Target service: 
Data type: 

Indicates whether a post contains the first message in a new thread.

Indicates whether a post contains the first message in a new board thread or a response to an existing message in a thread.

It can take these values:

  • "thread" identifies the first message
  • "post" identifies subsequent messages
Examples: 

1.  Filter for posts that start a thread and that mention Toyota:

2.  Filter for posts that respond to a thread and that mention Honda:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Indicates whether the 2Channel content is a "thread" or a "post".

Example

Filter for 2Channel "threads" that mention Toyota.

Amazon

[view:targets_by_target_objects=block=Amazon]
Tweet: 

amazon.author.link

Target service: 
Data type: 

A link to an author's profile.

A link to an author's profile page.

Examples: 

1.  To see examples of links:

Notes: 

Posts from Amazon can be user generated or site generated. This target has meaning for user-generated posts only. 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A URL to an author's profile page on Amazon. This target filters for user-generated posts only.

Example

Filter for content from Amazon where you have the URL to the author's profile page.

amazon.author.name

Target service: 
Data type: 

The real name of an author.

The real name of the author of a message.

Examples: 

1.  Filter for content from one named author:

2.  Filter for content from anyone named "Smith":

Notes: 

Posts from Amazon can be user generated or site generated. This target has meaning for user-generated posts only. 

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The name supplied by the author of a message on Amazon. This target has meaning for user-generated posts only.

Example

Filter for Amazon content posted by people named "John".

amazon.content

Target service: 
Data type: 

The main content of a post.

The main content of a post. It can be user-generated text or, for an Amazon product page, system-generated text.

Examples: 

1.  Filter for content that mentions "Google":

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The main content of an Amazon post. The text can be user-generated or system-generated.

Example

Filter for Amazon content that mentions Lego.

amazon.contenttype

Target service: 
Data type: 

The format of the content of a post.

The format of a post; currently always "HTML".

Examples: 

1.  At the time of writing, the format is always "HTML" but this filter checks whether any new formats are available.

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The format of an Amazon post. By default it is "HTML", but this may change in the future.

Example

Filter for Amazon content by content type "HTML".

amazon.link

Target service: 
Data type: 

Link to a user-generated post or to an Amazon page.

Link to a user-generated post or to an Amazon page.

Examples: 

1.  To see some examples of the content of amazon.link:

2.  Filter for a particular value in amazon.link:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The URL to user-generated Amazon post or to an Amazon page.

Example

Filter for Amazon content by checking if the URL contains the substring "discount".

amazon.thread

Target service: 
Data type: 

Link to the complete message thread.

Link to the complete message thread. This is for user-generated content on Amazon.

Examples: 

1.  To see examples of the content of amazon.thread:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a complete message thread on Amazon. You can filter for user-generated content on Amazon.

Example

Filter for threads that mention anyone from a list of Amazon authors you specify.

amazon.title

Target service: 
Data type: 

The title of an Amazon-generated page or a piece of user-generated content.

The title of an Amazon-generated page or a piece of user-generated content.

Examples: 

1.  Filter for content that includes "iPad" in the title:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The title of a system-generated page or a piece of user-generated content on Amazon.

Example

Filter for Amazon content with "iPad" in its title.

amazon.type

Target service: 
Data type: 

Indicates whether an message is the first message in a new thread or a response to an existing message.

Indicates whether a message contains the first message in a new board thread or a response to an existing message in a thread.

It can take these values:

  • "thread" identifies the first message
  • "post" identifies subsequent messages
Examples: 

1.  Filter for messages that start a thread and that mention comedy.

1.  Filter for messages that respond to a thread and mention "Apple":

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Indicates whether the Amazon content is a "thread" or a "post".

Example

Filter for Amazon "threads" that mention Pepsi.

Dailymotion

[view:targets_by_target_objects=block=Dailymotion]
Tweet: 

dailymotion.author.link

Target service: 
Data type: 

A link to a member's profile page.

A link to a member's profile page on Dailymotion.

Examples: 

1.  To see examples of the content of this field:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The URL to a Dailymotion member's profile page.

Example

Filter for all the Dailymotion content by a member using the direct URL to their profile page.

dailymotion.author.username

Target service: 
Data type: 

The username of the individual who uploaded a video.

The username of the person who uploaded a video.

Examples: 

1.  Filter for videos from authors who have a particular string as part of their username:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The username supplied to Dailymotion by a member uploading content.

Example

Filter for Dailymotion content uploaded by users with the word "apple" in their username.

dailymotion.category

Target service: 
Data type: 

The 'category' selected for a video when it was uploaded.

The 'category' selected for a video when it was uploaded.

Examples: 

1.  Filter for videos that belong to a "news" category.

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The 'category' of a video uploaded on Dailymotion. Since it is not mandatory to select a category, some videos are not classified by category.

Example

Filter for Dailymotion content that belong to the "technology" category.

dailymotion.content

Target service: 
Data type: 

The text associated with a video.

The text associated with a video.

Examples: 

1.  Filter for videos that mention the iPad in their content:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The text or comment associated with Dailymotion content.

Example

Filter for Dailymotion content by text or comments that mention iPad.

dailymotion.contenttype

Target service: 
Data type: 

Currently this is always set to "HTML".

Currently this is always set to "HTML".

Examples: 

1.  At the time of writing, the format is always "HTML" but this filter checks whether any new formats are available.

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The format of a message on Dailymotion. Currently, it is by default set to "HTML".

Example

Since this target is currently set to "HTML" in all cases, it is not used in filtering yet.

dailymotion.duration

Target service: 
Data type: 

The duration of a video.

The duration of a video, measured in seconds.

Examples: 

1.  Filter for videos that are less than 20 seconds long:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The duration of a Dailymotion video, measured in seconds.

Example

Filter for videos shorter than 3600 seconds.

dailymotion.tags

Target service: 
Data type: 

List of the 'tags' applied to the video when it was uploaded.

When a user uploads a video, they can add tags. For example, a new video about DataSift might include this set of tags:

    "DataSift, big data, new feature, Twitter"

Examples: 

1.  Filter for videos tagged with "Lady Gaga":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

When a user uploads a video on Dailymotion, they can add tags to describe the content of the video. 

Example

Filter for Dailymotion videos with the tags "apple, ipad, iphone".

dailymotion.thumbnail

Target service: 
Data type: 

A thumbnail photo associated with a video.

A link to a thumbnail image from a video.

Examples: 

1.  To see examples of the content you can filter against in dailymotion.thumbnail:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a thumbnail image representing a Dailymotion video.

Example

Filter for Dailymotion content where the URL to the thumbnails contains the words "iphone".

dailymotion.title

Target service: 
Data type: 

The title of a video.

A string containing the title of a video.

Examples: 

1.  Filter for videos that have "Lady Gaga" in their title:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The title of a Dailymotion video.

Example

Filter for Dailymotion content with "Coca Cola" in the title.

dailymotion.videolink

Target service: 
Data type: 

A link to a video.

A link to a page that displays a video.

Examples: 

1.  To see example content for dailymotion.videolink:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a Dailymotion page that displays a video.

Example

Filter for Dailymotion content by the URL which contains the word "football".

Flickr

[view:targets_by_target_objects=block=Flickr]
Tweet: 

flickr.author.link

Target service: 
Data type: 

A link to an author's profile on Flickr.

A link to the user's profile.

Examples: 

1.  To see examples of links:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a member's profile page on Flickr.

Example

Filter for Flickr content by the link to a member's profile page.

flickr.author.name

Target service: 
Data type: 

A member's real name.

A Flickr member's real name.

Examples: 

1.  Filter for content from one named Flickr member:

2.  Filter for content from anyone named "Smith":

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The name supplied by a member on Flickr.

Example

Filter for Flickr content from members named "Steve Jobs".

flickr.author.username

Target service: 
Data type: 

A member's username.

The username a member has chosen on Flickr.

Examples: 

1. Filter for content from members who have a particular string as part of their username:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The username that a member has chosen on Flickr.

Example

Filter for Flickr content from members who have "kittens" as part of their username.

flickr.content

Target service: 
Data type: 

The main content.

The main content of a post.

Examples: 

1.  Filter for Flickr content that mention dogs.

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The content associated with a Flickr image.

Example

 Filter for Flickr images related to flowers.

flickr.contenttype

Target service: 
Data type: 

The format of the content.

The format of the post; currently always "HTML".

Examples: 

1.  At the time of writing, the format is always "HTML" but this filter checks whether any new formats are available.

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The format of a post on Flickr. Currently it is set to "HTML" by default.

Example

Since this target is currently set to "HTML" by default for all content, it is not used in filtering yet.

flickr.link

Target service: 
Data type: 

Link to the dedicated page for a piece of content.

Link to the dedicated page for this image or other content.

Examples: 

1.  To see some examples of the content of flickr.link:

2.  Filter for a particular value in flickr.link:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The URL to a dedicated page for Flickr content.

Example

Filter for Flickr content if you know the direct URL to the content on Flickr.

flickr.thread

Target service: 
Data type: 

Link to the complete message board thread.

Link to the complete message board thread.

Examples: 

1.  To see examples of the content of board.thread:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a complete message board thread on Flicrk. This target enables you to see the first message and all the responses.

Example

Filter for Flickr content where the message board URL contains the word "instagram".

flickr.title

Target service: 
Data type: 

The title of a post.

The title of a post.

Examples: 

1.  Filter for content that includes "McDonald's" in the title:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The title of a post on Flickr.

Example

Filter for content that includes "Apple" in the title.

flickr.type

Target service: 
Data type: 

Indicates whether this is the first message in a new thread.

Indicates whether this is the first message in a new thread or a response to an existing message. It can take these values:

  • "thread" identifies the first message
  • "post" identifies subsequent messages
Examples: 

1.  Filter for posts that start a thread and that mention baseball.

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

This target indicates whether a Flickr message is a "thread" or a "post". If a message is a "thread", it is identified the first message in a thread. If it is a "post", it is identified as a subsequent message in the thread.

Example

Filter Flickr content for "threads" that mention baseball.

IMDb

[view:targets_by_target_objects=block=IMDb]
Tweet: 

imdb.author.link

Target service: 
Data type: 

A link to an author's profile page.

A link to an author's profile page.

Examples: 

1.  To see examples of links:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a member's profile page on IMDb.

Example

Filter for IMDb content where the URL contains "tt0454876".

imdb.author.name

Target service: 
Data type: 

A member's real name.

A member's real name, as supplied to IMDb on signup.

Examples: 

1.  Filter for content from one named IMDb member:

2.  Filter for content from anyone named "Smith":

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

A member's real name, as supplied to IMDb on signup.

Example

Filter for IMDb content from members with "John" in their name.

imdb.content

Target service: 
Data type: 

The main content of a post.

The main content of a post.

Examples: 

1.  Filter for content that mentions "Star Wars":

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The text or comment associated with an IMDb post.

Example

Filter for IMDb content with text or comments that mentions Lord of the Rings.

imdb.contenttype

Target service: 
Data type: 

The format of the content.

The format of the post; currently always "HTML".

Examples: 

1.  At the time of writing, the format is always "HTML" but this filter checks whether any new formats are available.

Tweet: 
GUI Tooltip: 

Summary

The format of an IMDb post. Currently it is set as "HTML" by default.

Example

You can use this target to check whether any new formats are available for IMDb content.

imdb.link

Target service: 
Data type: 

A link to the post.

A link to the individual page for the post.

Examples: 

1.  To see some examples of the content of 2ch.link:

2.  Filter for a particular value in 2ch.link:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to an original post on IMDb.

Example

This target is rarely used in filtering unless you are filtering for specific IMDb content and have the link to it.

imdb.thread

Target service: 
Data type: 

Link to the complete message thread.

Link to the complete message thread.

Examples: 

1.  To see examples of the content of imdb.thread:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a complete message board thread on IMDb.

Example

Filter for IMDb content where the link to a message board thread contains "tt0454876".

imdb.title

Target service: 
Data type: 

The title of a post.

The title of a post.

Examples: 

1.  Filter for 2channel posts that include "Star Wars" in their title:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The title of a post on IMDb.

Example

Filter for IMDb content that mentions the King Kong in their title.

imdb.type

Target service: 
Data type: 

Indicates whether the interaction contains the first message in a new thread.

Indicates whether the interaction contains the first message in a new board thread or a response to an existing message in a thread.

It can take these values:

  • "thread" identifies the first message
  • "post" identifies subsequent messages
Examples: 

1.  Filter for posts that start a thread and that Ocean's Eleven:

2.  Filter for posts that respond to a thread and that Ocean's Twelve:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

Indicates whether a message posted on IMDb is a "thread" or a "post".

If the message is a "thread", it is identified as the first message in a thread. If it is a "post", it is identified as a subsequent message in a thread.

Example

Filter for IMDb posts that are in response to a thread about "Life of Pi".

Reddit

[view:targets_by_target_objects=block=Reddit]
Tweet: 

reddit.author.link

Target service: 
Data type: 

A link to an author's profile page.

A link to an author's profile page.

Examples: 

1.  To see examples of links:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a member's profile page on Reddit.

Example

Filter for Reddit content by a specific member's profile page link.

reddit.author.name

Target service: 
Data type: 

The 'real' name of the author of the post.

The 'real' name of the author of the post.

Examples: 

1. Filter for content from one named author:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The real name supplied by a member to Reddit on signup.

Example

Filter for Reddit content by members with "John" as their name.

reddit.content

Target service: 
Data type: 

The text of a post.

The text of a post.

Examples: 

1.  Filter for posts that mention the iPad:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The text of a Reddit post.

Example

Filter for Reddit content that mentions the iPad.

reddit.contenttype

Target service: 
Data type: 

Currently this is always set to "HTML".

Currently this is always set to "HTML".

Examples: 

1.  At the time of writing, the format is always "HTML" but this filter checks whether any new formats are available.

Tweet: 
GUI Tooltip: 

Summary

The format of a Reddit post. Currently, the format is set to "HTML" by default.

Example

You can use this target to check for newer formats of Reddit posts.

reddit.link

Target service: 
Data type: 

A link directly to the post.

A link to the page for this post.

Examples: 

1.  To see examples of the content of reddit.link:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to an original Reddit post.

Example

Rarely used in filtering. You can use this target if you have the direct link to a specific Reddit post.

reddit.thread

Target service: 
Data type: 

Link to the complete message board thread.

Link to the complete message board thread.

Examples: 

1.  To see examples of the content of reddit.thread:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a complete message board thread on Reddit.

Example

Rarely used for filtering. You can use this target if the direct link to a specific message board thread on Reddit.

reddit.title

Target service: 
Data type: 

The title of the post.

The title of the post.

Examples: 

1.  Filter for posts that include "iPad" in their title:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The title of a Reddit post.

Example

Filter for Reddit content that mentions the iPad in its title.

reddit.type

Target service: 
Data type: 

Indicates whether a message is the first in a new board thread.

Indicates whether a message is the first in a new board thread or a response to an existing message in a thread.

It can take these values:

  • "thread" identifies the first message
  • "post" identifies subsequent messages
Examples: 

1.  Filter for posts that start a thread and that mention baseball.

2.  Filter for posts that respond to a thread and mention "Apple":

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

Indicates whether a Reddit message is a "thread" or a "post".

If it is a "thread", then it is identified as the first message in a thread. If it's a "post", it is identified as a subsequent message in a thread. 

Example

Filter for Reddit content, specifically "threads" that mention CNN.

YouTube

[view:targets_by_target_objects=block=YouTube]
Tweet: 

youtube.author.link

Target service: 
Data type: 

A link to an author's profile page.

A link to an author's profile page on YouTube.

Examples: 

1.  To see examples of the content of this field:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a member's profile page on YouTube.

Example

Rarely used for filtering. You can use this target if you want filter using the link to a member's profile page.

youtube.author.name

Target service: 
Data type: 

The 'real' name supplied by an author.

The 'real' name supplied by the author of a video or video comment.

Examples: 

1.  Filter for YouTube videos posted by a particular YouTube member:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The real name supplied by the YouTube member who uploaded a video or commented on video.

Example

Filter for YouTube content posted by members named "John".

youtube.category

Target service: 
Data type: 

The category selected for a video when it was uploaded.

The YouTube category selected for a video when it was uploaded.

Note that this is not a compulsory selection in YouTube so you will probably encounter videos that do not belong to any category.

Examples: 

1.  Filter for videos in the "Film & Animation" category:

Notes: 

At the time of writing, the YouTube categories are:

  • Cars & Vehicles
  • Comedy
  • Education
  • Entertainment
  • Film & Animation
  • Gaming
  • Howto & Style
  • Music
  • News & Politics
  • Non-profits & Activism
  • People & Blogs
  • Pets & Animals
  • Science & technology
  • Sport
  • Travel & Events
Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The YouTube category selected for a video when it was uploaded.

Example

Filter for YouTube videos in the "Film & Animation" category.

youtube.commentslink

Target service: 
Data type: 

A link to the comments page for a video.

A link to the comments page for a video.

Examples: 

1. To see some examples of the content of youtube.comments.link:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a comments page for a video on YouTube.

Example

Rarely used for filtering. You can use this target if you want to filter using the direct link to the comments page of a specific video on YouTube.

youtube.content

Target service: 
Data type: 

The text or comment associated a the video.

The text or comment associated with a video.

Examples: 

1.  Filter for videos with text or comments that mention the iPad:

2.  Filter for content from all our data sources (including, for example, message boards, Twitter, Facebook, and so on) that mention the iPad:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The text or comment associated with a YouTube video.

Example

Filter for videos with text or comments that mention the iPad.

youtube.contenttype

Target service: 
Data type: 

The format of the content.

The format of the message; currently always "HTML".

Examples: 

1.  At the time of writing, the format is always "HTML" but this filter checks whether any new formats are available.

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The format of a message on YouTube. Currently it is set to "HTML" by default.

Example

Rarely used for filtering. You can use this target to check for new formats of messages on YouTube.

youtube.duration

Target service: 
Data type: 

The duration of a video.

The duration of a video, measured in seconds.

Examples: 

1.  Filter for very short YouTube videos:

2.  Filter for videos that are betweet 55 and 65 seconds long:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The duration of a YouTube video, measured in seconds.

Example

Filter for YouTube videos shorter than 20 seconds. You can use this target in combination with youtube.content, to filter for videos of a specified length about a particular topic.

youtube.tags

Target service: 
Data type: 

List of the 'tags' applied to a video when it was uploaded.

When a user uploads a video, they can add tags. For example, a new video about DataSift might include this set of tags:

    "DataSift, big data, new feature, Twitter"

Examples: 

1.  Filter for videos tagged with "Lady Gaga":

2.  Filter for videos tagged "iPad" or belonging to a category that includes the word "mobile". Not all video sites include tags so you cannot guarantee that they will be present. When you filter against video.tags, you might choose to include a logical OR command:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

When a user uploads a video on YouTube, they can add tags to describe the content of the video.

Example

Filter for YouTube videos that contain the tags "Apple, brand new, iPhone 5".

youtube.thumbnail

Target service: 
Data type: 

A thumbnail photo associated with a video.

A link to a thumbnail image from a video.

Examples: 

1.  To see examples of the content you can filter against in youtube.thumbnail:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a thumbnail image from a YouTube video.

Example

Rarely used for filtering.

youtube.title

Target service: 
Data type: 

The title of a video.

A string containing the title of a YouTube video.

Examples: 

1.  Filter for videos that have "Lady Gaga" in their title:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The title of a YouTube video.

Example

Filter for videos with Samsung in the title.

youtube.type

Target service: 
Data type: 

Indicates whether this is a new video or a comment about an existing video.

This target matches "video" if the interaction contains a video and "comment" if it contains a "comment" about a video.

Examples: 

1.  Filter for YouTube videos and exclude comments about videos:

Array: 
No
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

Indicates whether this is a new YouTube video or a comment about an existing youTube video.

Example

Filter for YouTube videos on NFL games where the comments contain the keywords "superb, excellent, well done".

youtube.videolink

Target service: 
Data type: 

A link to a video.

A link to the page that displays a video.

Examples: 

To see example content for youtube.videolink:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a page that displays a YouTube video.

Example

Rarely used for filtering. You can use this target if you have a direct link to YouTube content.

Topix

[view:targets_by_target_objects=block=Topix]
Tweet: 

topix.author.location

Target service: 
Data type: 

An author's geographical location.

An author's geographical location. Typically Topix supplies this as a US city and state. Here are some sample values that we have seen in this target:

Altamonte Springs, FL    Bethlehem, PA
Chambersburg, PA   Danville, KY
Grand Island, NE   Hammond, IN
Houston, TX   Indianapolis, IN
Los Angeles, CA   Milford, CT
Newville, PA   New York, NY
Seminole, FL   South Windsor, CT
Spring, TX   West Mifflin, PA

 

However, you might find other values, such as:

  • United States
Examples: 

1. Search for Topix content from authors in Texas:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

A Topix author's geographical location. Typically Topix supplies this as a US city and state. 

Example

Filter for Topix content from authors in Texas.

topix.author.name

Target service: 
Data type: 

The 'real' name of the author of a post.

The 'real' name of the author of a post.

Examples: 

1. Filter for content from one named author:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The real name supplied by a member to Topix on signup.

Example

Filter for Topix content from members with names that contain "Jane".

topix.content

Target service: 
Data type: 

The text of this post.

The text of this post.

Examples: 

1.  Filter for posts that mention the iPad:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The full text of a Topix post.

Example

Filter for Topix content that mentions Chicago.

topix.contenttype

Target service: 
Data type: 

Currently this is always set to "HTML".

Currently this is always set to "HTML".

Examples: 

1.  At the time of writing, the format is always "HTML" but this filter checks whether any new formats are available.

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The format of a post on Topix. Currently the format is set to "HTML" by default.

Example

You can use this target to check for new formats of posts on Topix.

topix.link

Target service: 
Data type: 

A link directly to the post.

A link to the page for this post.

Examples: 

1.  To see examples of the content of topix.link:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to an original post on Topix.

Example

Rarely used in filtering. You can use this target for filtering if you have the direct link to a specific post on Topix.

topix.thread

Target service: 
Data type: 

Link to the complete message board thread.

Link to the complete message board thread.

Examples: 

1.  To see examples of the content of topix.thread:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL to a complete message board thread on Topix.

Example

Rarely used for filtering. You can use this target if you have the direct link to specific message board thread on Topix.

topix.title

Target service: 
Data type: 

The title of a post.

The title of a post.

Examples: 

1.  Filter for posts that include "iPad" in their title:

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

The title of a Topix post.

Example

Filter for Topix content that mentions the iPad in their title.

topix.type

Target service: 
Data type: 

Indicates whether the interaction contains the first message in a new board thread.

Indicates whether the interaction contains the first message in a new board thread or a response to an existing message in a thread.

It can take these values:

  • "thread" identifies the first message
  • "post" identifies subsequent messages
Examples: 

1.  Filter for posts that start a thread and that mention baseball.

2.  Filter for posts that respond to a thread and mention "Apple":

Array: 
No
Tweet: 
GUI Tooltip: 

Summary

Indicates the type of a Topix message. If the message is a "thread", it is identified as the first message posted in a thread. If it is a "post", it is identified as a subsequent message on a thread.

Example

Filter for Topix content where new threads mention the word "iPhone 5". 

Augmentation: Links

If you're just getting started with links resolution, here's some recommended reading.

Bitly, DataSift and Links Resolution Blog

Read this excellent blog from Lorenzo Alberton, DataSift's Chief Technical Architect, describing the Bitly data source and the Links augmentation 'under the hood'.

Bitly & Metadata Blog

This blog looks at Datasift's latest link resolution services, including a new partnership with bitly, the #1 link sharing platform, which powers 75 percent of the world’s largest media companies and half of the Fortune 500 companies. With over 20,000 white-labeled domains, bitly generates 200M clicks/day.

Open Graph & Twitter Cards Blog

This blog looks at two powerful protocols, Open Graph from Facebook and Twitter Cards from Twitter. The ideas behind these technologies allow social media sites two provide embedded content accompanied by metadata that describes the content being presented, distributed, and consumed.

Introduction to the Links Augmentation

Our Introduction page explains how the Links augmentation examines links within the content of a message and resolves them to their final endpoint. At the same time it also aggregates the content of the link so that filtering can be performed against the content of the page that the link was pointing at.

[view:targets_by_target_objects=block=Augmentation Target: Links]
Tweet: 

Introduction to the Links Augmentation

Browse the Links augmentation targets.

The Links augmentation looks at any links within the content of a message and resolves them to their final endpoint. At the same time it also aggregates the content of the link so that filtering can be performed against the content of the page that the link was pointing at.

DataSift follows all types of shortened links (for example, bit.ly and Twitter's own t.co shortener) and follows each redirect until the final web page is found. The final resolved link is also visible (as links.url) to be filtered against 

The Link augmentation works in near real time; only links which have not previous been discovered are taken out of the real-time flow and are re-inserted (normally in under two seconds) back into the flow of data.

 

How it Works

Here are the key points you need to know first:

  • We resolve all links even if they are shortened.
  • We follow all redirects through to the final URL.
  • We do this in real time so any new links are instantly resolved.
  • We fetch the content (currently just the title) from the page that a link points to.

Use Cases

1.  You can filter against the title of a linked page:

2.  You can filter against specific domains. We use the in operator here rather than contains because this target is an array of strings:

3.  You can filter against the retweet count:

Note that this example has no meaning if there is more than one link in the object because each link has a unique retweet count.

Multiple Links in One Input Object

An input object might contain more than one link so the Links augmentation is designed to handle multiple links. The targets for the Links augmentation are arrays of strings or arrays of integers. There is one array element for each link. For example, for a Tweet that contains three links, there will be three array elements.

DataSift keeps the array elements in step automatically. For example, if links.title contains:

2 Yahoo!
1 Google
0 eBay

links.url contains:

2 http://www.yahoo.com
1 http://www.google.com
0 http://www.ebay.com

You perform operations on these arrays as if they were simple strings or integers. For example, the following filter succeeds if it finds a match on at least one row in the array.

Tweet: 

links.age

Target object: 
Data type: 

The number of seconds since we first saw a particular link in the Twitter Firehose.

Please note: we are deprecating this target.
It will continue to compile but it will not match any data.

 

The number of seconds since a particular link was created in our database. As soon as we see an author use a new link, we aggregate it. In other words, this target indicates the first time we saw a link in the Twitter Firehose.

This information is useful, for example, when you write filters that look for new links only.

Examples: 

1.  Filter for posts containing links that have been added to our database within the past 100 seconds:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The number of seconds since a particular link was created in our database. As soon as we see an author use a new link, we aggregate it. In other words, this target indicates the first time we saw a link in the Twitter Firehose.

This information is useful, for example, when you write filters that look for new links only.

Example

Filter for posts containing links that have been added to our database within the past 100 seconds.

links.domain

Target object: 
Data type: 

The fully qualified domain name of a link, resolved to the final URL.

The Fully Qualified Domain Name (FQDN) of a link. This information may be used for statistical purposes to find out which domains publish most popular content.

Remember that a link might have been shortened. In all cases, links.domain contains the domain of the fully expanded link.

Examples: 

1.  Filter for Tweets that contain a link to any eBay.com page:

2.  Filter for posts mentioning URLs that include any domains from a list:

3.  Filter for posts mentioning URLs that include a domain or any of its subdomains:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The domain name of a link from a post.

Remember that a link might have been shortened. In all cases, links.domain contains the domain of the fully expanded link.

Example

Filter for Tweets that contain a link to any eBay.com page.

links.retweet_count

Target object: 
Data type: 

The total number of times this link has been Tweeted.

 

Please note: we are deprecating this target.
It will continue to compile but it will not match any data.

 

The total number of times this link has been Tweeted.

See also twitter.retweet.count.

Examples: 

1. Filter for Tweets that contain a link that has been Tweeted to more than 10,000 times.

Note that this might include one Tweet that has been retweeted 10,000 times or 10,000 different Tweets from 10,000 authors, all linking to the same destination page.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The total number of times this link has been Tweeted.

Example

Filter for Tweets that contain a link that has been Tweeted to more than 10,000 times.

Note that this might include one Tweet that has been retweeted 10,000 times or 10,000 different Tweets from 10,000 authors, all linking to the same destination page.

links.title

Target object: 
Data type: 

The title of the page the link points to.

The title of a page that is linked to from a post. 

For example, suppose that the text of a Tweet is:

    "You have to read this! http://imdb.to/16tYO"

This shortened link in the Tweet expands to:  www.imdb.com

The HTML <title> of that page is "IMDb - Movies, TV and Celebrities" and it appears as a string in links.title.

Examples: 

1.  Filter for Tweets that contain "read this" and include a link to a page with "Google" in the title:

Notes: 

The title is the text that is extracted from the <title></title> tags in the page's HTML. It does not necessarily correspond to any content that appears in a browser when the page is rendered.

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The title is extracted from the <title></title> tags in the page's HTML.

The title of a page that is linked to from a post. For example, suppose that the text of a Tweet is:

    "You have to read this! http://imdb.to/16tYO"

This shortened link in the Tweet expands to:  www.imdb.com

The HTML <title> of that page is "IMDb - Movies, TV and Celebrities" and it appears as a string in links.title.

Example

Use this in combination with Twitter >> Tweet to filter for Tweets that contain "check it out" and include a link to a page with "NFL" in its title.

links.url

Target object: 
Data type: 

The full URL of the page (resolved to the final page).

The expanded URL of a page that this post links to.

You can use this augmentation to filter for posts that contain a specific string or substring in the link. 

Examples: 

1.  Filter for posts that contain a link that, when expanded, includes a specified substring:

2.  Filter for posts that contain links that include the substring "obama-victory":

3. Filter for posts that contain links but exclude named domains:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The expanded URL of a page that this post links to. You can use this augmentation to filter for posts that contain a specific string or substring in the link. 

Example

Filter for posts that include the substring "nfl-scores" in the link.

links.meta.charset

Target object: 
Data type: 

The character set for the target web page.

The character set for the target web page. This information is derived from the <meta charset="UTF-8"> (HTML5) or <meta http-equiv="content-type" content="text/html; charset=UTF-8"> (HTML 4.01) tags found inside the <head>...</head> tags. You can use it to measure the rate of adoption of a particular encoding. This is very useful feedback for designers, developers, and publishers. Possible values are:

  • ANSI_X3
  • CP1251
  • CP1252
  • EUC-JP
  • GB2312
  • GBK
  • ISO-8859-2
  • ISO-8859-9
  • SHIFT_JIS
  • UHC
  • UTF-8
  • WINDOWS-1252
  • WINDOWS-1254
  • WINDOWS-1256

 

Examples: 

1.  Filter for links to content in UTF-8:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The character set for the target web page. This information is derived from the <meta charset="UTF-8"> (HTML5) or <meta http-equiv="content-type" content="text/html; charset=UTF-8"> (HTML 4.01) tags found inside the <head>...</head> tags. You can use it to measure the rate of adoption of a particular encoding. This is very useful feedback for designers, developers, and publishers. 

Example

Filter for links to content in EUC-JP.

links.meta.content_type

Target object: 
Data type: 

Content type of the target page.

Indicates the type of content on the target page. It can be found inside the page's header:
 
<head>
<meta
http-equiv="content-type" content="text/html" />
</head>

This information helps you measure popularity of different types of content (text, image, video) or go deeper and analyze the popularity of different video codecs (video/3gpp, video/mp4, video/x-m4v).

Examples: 

1.  Filter for content in plain text:

Notes: 

Here are some sample values that we found:

  • application/java-archive
  • application/javascript
  • application/javascript; charset=utf-8
  • text/html, charset=UTF-8
  • text/html; Charset=ISO-8859-1
  • text/html; Charset=UTF-8
  • text/plain
  • text/plain; charset=ISO-8859-1
  • text/plain; charset=UTF-8
  • text/plain; charset=ascii
  • unknown/unknown
  • video/3gpp
  • video/mp4
  • video/x-m4v

 

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Indicates the type of content on the target page. It can be found inside the page's header:
 
<head>
<meta 
http-equiv="content-type" content="text/html" />
</head>

This information helps you measure popularity of different types of content (text, image, video) or go deeper and analyze the popularity of different video codecs (video/3gpp, video/mp4, video/x-m4v).

Example

Filter for content in html text.

links.meta.lang

Target object: 
Data type: 

Language of the target page.

Language of the target page, as declared in the HTTP headers or in the HTML meta tags.

Language codes must be ISO 639-1 codes. It is as declared in the HTTP headers, the <html> tag or in the HTML <meta> tags, as follows:. 
 
<html lang="en">
...
</html>


or

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
...
</html>

Examples: 

Here are some sample values:

ar
ar-aa
ar-dz
cl
de
de-de
el
en, en
en
en-gb
en-us
es
es-es, en
es-es
es-pa
fr
fr-fr
id
it
ja
nl
no
pt
pt-br
ro
ru-ru
sk
sv
sv-se
ta
tr
tr-tr
unknown, en
unknown, unknown
unknown
utf-8
zh-cn
Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Language of the target page, as declared in the HTTP headers or in the HTML meta tags. The language codes must be compliant with ISO 639-1 codes.

Example

Filter for content where the language metadata is set to British English.

links.meta.newskeywords

Target object: 
Data type: 

Keywords accompanying news stories.

Metadata frequently attached to news stories.

You can use this target to refine your filters. It is especially useful when you are trying to filter for pages that publish news instead of other types of content. This type of metadata is found on pages that implement the Google news_keywords <meta> tag.
 
<head>
<meta name="news_keywords" content="Obama, White House, Election, 2012, victory" />
</head>

Examples: 

1.  Filter for stories that include "Google" as a keyword:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Metadata frequently attached to news stories. You can use this target to refine your filters, especially when you are trying to filter for pages that publish news instead of other types of content. This type of metadata is found on pages that implement the Google news_keywords <meta> tag.

Example

Filter for stories that include "Obama" as a keyword.

links.meta.opengraph.activity

Target object: 
Data type: 

Open Graph activity metadata.

Open Graph object type activity.

You can use this augmentation to filter for content by the name of an activity. 

The links.meta.opengraph.activity target belongs to the Activities family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:activity" content="running" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph activity metadata is "running":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of an activity. This target belongs to the Activities family of Open Graph object types.

Example

Filter for content where the Open Graph activity metadata is "swimming".

links.meta.opengraph.actor

Target object: 
Data type: 

Open Graph actor metadata.

Open Graph object type actor.

You can use this augmentation to filter for content by the name of an actor. 

The links.meta.opengraph.actor target belongs to the People family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:actor" content="Will Smith" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph actor metadata is "Will Smith":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of an actor. This target belongs to the People family of Open Graph object types.

Example

Filter for content where the Open Graph actor metadata is "Tom Cruise".

links.meta.opengraph.album

Target object: 
Data type: 

Open Graph album metadata.

Open Graph object type album.

You can use this augmentation to filter for content by the name of an album. 

The links.meta.opengraph.album target belongs to the Products and Entertainment family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:album" content="Abbey Road" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph album metadata is "Abbey Road":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a music album. This target belongs to the Products and Entertainment family of Open Graph object types.

Example

Filter for content where the Open Graph album metadata is "Born This Way".

links.meta.opengraph.article

Target object: 
Data type: 

Open Graph article metadata.

Open Graph object type article.

You can use this augmentation to filter for website content such as news articles, blog posts, photos, and videos. 

The links.meta.opengraph.article target belongs to the Websites family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:article" content="Yankees">

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph article metadata is "Yankees":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for website content such as news articles, blog posts, photos, and videos. This target belongs to the Websites family of Open Graph object types.

Example

Filter for content where the Open Graph article metadata is "New York Jets".

links.meta.opengraph.athlete

Target object: 
Data type: 

Open Graph athlete metadata.

Open Graph object type athlete.

You can use this augmentation to filter for content by the name of an athlete. 

The links.meta.opengraph.athlete target belongs to the People family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:athlete" content="Ryan Lochte" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph athlete metadata is "Ryan Lochte":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of an athlete. This target belongs to the People family of Open Graph object types.

Example

Filter for content where the Open Graph athlete metadata is "LeBron James".

links.meta.opengraph.author

Target object: 
Data type: 

Open Graph author metadata.

Open Graph object type author.

You can use this augmentation to filter for content by the name of an author. 

The links.meta.opengraph.author target belongs to the People family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:author" content="Charles Dickens" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph author metadata is "Charles Dickens":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of an author. This target belongs to the People family of Open Graph object types.

Example

Filter for content where the Open Graph actor metadata is "Michael Crichton".

links.meta.opengraph.band

Target object: 
Data type: 

Open Graph band metadata.

Open Graph object type band.

You can use this augmentation to filter for content by the name of a band. 

The links.meta.opengraph.band target belongs to the Organizations family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:band" content="The Beatles" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph band metadata is "Beatles":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a band. This target belongs to the Organizations family of Open Graph object types.

Example

Filter for content where the Open Graph band metadata is "Led Zepplin".

links.meta.opengraph.bar

Target object: 
Data type: 

Open Graph bar metadata.

Open Graph object type bar.

You can use this augmentation to filter for content by the name of a bar. 

The links.meta.opengraph.bar target belongs to the Businesses family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:bar" content="Rick's" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph bar metadata is "Rick's":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a bar. This target belongs to the Businesses family of Open Graph object types.

Example

Filter for content where the Open Graph bar metadata is "Mixx Bar".

links.meta.opengraph.blog

Target object: 
Data type: 

Open Graph blog metadata.

Open Graph object type blog.

You can use this augmentation to filter for content from a particular blog domain. 

The links.meta.opengraph.blog target belongs to the Websites family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:blog" content="blogspot" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph blog metadata contains "blogspot":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content from a particular blog domain. This target belongs to the Websites family of Open Graph object types.

Example

Filter for content where the Open Graph blog metadata contains "wordpress".

links.meta.opengraph.book

Target object: 
Data type: 

Open Graph book metadata.

Open Graph object type book.

You can use this augmentation to filter for content by the name of a book. 

The links.meta.opengraph.book target belongs to the Products and Entertainment family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:book" content="Hamlet" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph book metadata is "Hamlet":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a book. This target belongs to the Products and Entertainment family of Open Graph object types.

Example

Filter for content where the Open Graph book metadata is "Life of Pi".

links.meta.opengraph.cafe

Target object: 
Data type: 

Open Graph cafe metadata.

Open Graph object type cafe.

You can use this augmentation to filter for content by the name of a cafe. 

The links.meta.opengraph.cafe target belongs to the Businesses family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:cafe" content="Starbucks" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph cafe metadata includes "Starbucks":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a cafe. This target belongs to the Businesses family of Open Graph object types.

Example

Filter for content where the Open Graph cafe metadata is "Costa".

links.meta.opengraph.cause

Target object: 
Data type: 

Open Graph cause metadata.

Open Graph object type cause.

You can use this augmentation to filter for content by specifying a cause. 

The links.meta.opengraph.cause target belongs to the Groups family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:cause" content="World Wildlife Fund" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph cause metadata is "World Wildlife Fund":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by specifying a cause. This target belongs to the Groups family of Open Graph object types.

Example

Filter for content where the Open Graph cause metadata is "WWF".

links.meta.opengraph.city

Target object: 
Data type: 

Open Graph city metadata.

Open Graph object type city.

You can use this augmentation to filter for content by the name of a city. 

The links.meta.opengraph.city target belongs to the Places family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:city" content="Paris" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph city metadata includes "Paris":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a city. This target belongs to the Places family of Open Graph object types.

Example

Filter for content where the Open Graph city metadata includes "New York".

links.meta.opengraph.company

Target object: 
Data type: 

Open Graph company metadata.

Open Graph object type company.

You can use this augmentation to filter for content by the name of a company. 

The links.meta.opengraph.company target belongs to the Businesses family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:company" content="DataSift" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph company metadata is "DataSift":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a company. This target belongs to the Businesses family of Open Graph object types.

Example

Filter for content where the Open Graph company metadata is "Apple".

links.meta.opengraph.country

Target object: 
Data type: 

Open Graph country metadata.

Open Graph object type country.

You can use this augmentation to filter for content by the name of a country. 

The links.meta.opengraph.country target belongs to the Places family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:country" content="France" />

Learn more about Open Graph protocol.

Examples: 

1. Filter for content where the Open Graph country metadata includes "France":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a country. This target belongs to the Places family of Open Graph object types.

Example

Filter for content where the Open Graph country metadata includes "England".

links.meta.opengraph.director

Target object: 
Data type: 

Open Graph director metadata.

Open Graph object type director.

You can use this augmentation to filter for content by the name of a director.  

The links.meta.opengraph.director target belongs to the People family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:director" content="Alfred Hitchcock" />

Learn more about Open Graph protocol.

Examples: 

1. Filter for content where the Open Graph director metadata is "Alfred Hitchcock":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a director. This target belongs to the People family of Open Graph object types.

Example

Filter for content where the Open Graph actor metadata is "Steven Spielberg".

links.meta.opengraph.drink

Target object: 
Data type: 

Open Graph drink metadata.

Open Graph object type drink.

You can use this augmentation to filter for content by the name of a drink. 

The links.meta.opengraph.drink target belongs to the Products and Entertainment family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:drink" content="Shaken not stirred" />

Learn more about Open Graph protocol.

Examples: 

1. Filter for content where the Open Graph drink metadata includes "Shaken not stirred":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a drink. This target belongs to the Products and Entertainment family of Open Graph object types.

Example

Filter for content where the Open Graph drink metadata is "Sangria".

links.code

Target object: 
Data type: 

The HTTP status code for the original URL.

The HTTP status code for the original URL. This is the HTTP status code received by DataSift when we tried to retrieve the original URL. When DataSift needs to resolve shortened links, it will be the HTTP status code for the last resolved link. Codes other than 200 (OK) do not mean that the resource the original URL points to is unavailable, they only mean that it might had been unavailable when DataSift tried to access it.

Examples: 

1. Filter for Tweets that contain "love" and include a link to a resource with an HTTP status code 200:

2. Filter for Tweets that contain "politics" and include a link to a resource with a "not-failed" HTTP status code:

Array: 
Yes
Always exists: 
Yes
Tweet: 
GUI Tooltip: 

Summary

The HTTP status code for the original URL. This is the HTTP status code received by DataSift when we tried to retrieve the original URL. When DataSift needs to resolve shortened links, it will be the HTTP status code for the last resolved link. Codes other than 200 (OK) do not mean that the resource the original URL points to is unavailable, they only mean that it might had been unavailable when DataSift tried to access it.

Example

Filter for Tweets that contain "life" and include a link to a resource with an HTTP status code 200.

links.hops

Target object: 
Data type: 

The array of intermediate links that any link posted as a part of an interaction resolves to before DataSift obtains the original URL.

The array of intermediate links that any link posted as a part of an interaction resolves to before DataSift obtains the original URL. If the URL we're analyzing points directly to the resource it represents, the links.hops array will be empty; if the URL is a shortened link (a Bilty link, for example) that resolves directly to the original URL, the links.hops array will have one element. If, however, the URL is a shortened link to another shortened link that points to the original URL, the links.hops array will have two elements. 

Examples: 

1.  Filter for Tweets that contain links shortened using Bitly:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The array of intermediate links that any link posted as a part of an interaction resolves to before DataSift obtains the original URL. If the URL we're analyzing points directly to the resource it represents, the links.hops array will be empty; if the URL is a shortened link (a Bilty link, for example) that resolves directly to the original URL, the links.hops array will have one element. If, however, the URL is a shortened link to another shortened link that points to the original URL, the links.hops array will have two elements. 

Example

Filter for Tweets that contain links shortened using bitly.

links.meta.description

Target object: 
Data type: 

Description of the target page.

Description of the target page found inside the page's header.

This information is added to pages by their creators, either automatically or by hand, as follows:
 
<head>
<meta name="description" content="DataSift offers the most powerful and sophisticated tools for extracting value from Social Data." />
</head>

Examples: 

1.  Filter for interactions with links that include "election" in their metadata description:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Description of the target page found inside the page's header.

This information is added to pages by their creators, either automatically or by hand, as follows:
 
<head>
<meta name="description" content="DataSift offers the most powerful and sophisticated tools for extracting value from Social Data." />
</head>

Example

Filter for interactions with links that include "Yankees win" in their metadata description.

links.meta.keywords

Target object: 
Data type: 

Keywords for a target page.

Keyword metadata for the target page for a link.

This information is added to pages by their creators, either automatically or by hand, as follows:
 
<head>
<meta name="keywords" content="Romney, Obama, White House, Election, 2012, opinion" />
</head>

The result is a JSON array, for example:

Examples: 

1.  Filter for content with keyword metadata that includes "election":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The keyword metadata for the target page for a link.

This information is added to pages by their creators, either automatically or by hand, as follows:
 
<head>
<meta name="keywords" content="Romney, Obama, White House, Election, 2012, opinion" />
</head>

Example

Filter for content with keyword metadata that includes "photography".

links.meta.opengraph.description

Target object: 
Data type: 

Open Graph description metadata.

Open Graph object property description.

You can use this augmentation to filter for content by specifying a string or substring included in the description. It is an optional Open Graph object property but most Open Graph Protocol users recommend including it.

The links.meta.opengraph.description target belongs to the family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:description" content="Coverage of the 2012 Presidential election" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph description metadata includes "election":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by specifying a string or substring included in the description. It is an optional Open Graph object property but most Open Graph Protocol users recommend including it. This target belongs to the family of optional Open Graph object properties.

Example

 Filter for content where the Open Graph description metadata includes "US elections".

links.meta.opengraph.email

Target object: 
Data type: 

Open Graph email address metadata.

Open Graph object property email.  

You can use this augmentation to filter for content by specifying an email address. 

The links.meta.opengraph.email target belongs to the Contact Information family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:email" content="support@datasift.com" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph email metadata includes "support@datasift.com":

2.  Filter for content where the Open Graph email metadata includes one or more email addresses from a list:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by specifying an email address. This target belongs to the Contact Information family of optional Open Graph object properties.

Example

Filter for content where the Open Graph email metadata includes "support@datasift.com".

links.meta.opengraph.fax_number

Target object: 
Data type: 

Open Graph fax_number metadata.

Open Graph object property fax_number.  

You can use this augmentation to filter for content by specifying a fax number. 

The links.meta.opengraph.fax_number target belongs to the Contact Information family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:fax_number" content="555-123-4567" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph fax_number metadata includes the specified fax number:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by specifying a fax number. This target belongs to the Contact Information family of optional Open Graph object properties.

Example

Filter for content where the Open Graph fax_number metadata includes a specified fax number.

links.meta.opengraph.food

Target object: 
Data type: 

Open Graph food metadata.

Open Graph object type food.

You can use this augmentation to filter for content by specifying the name of a food. 

The links.meta.opengraph.food target belongs to the Products and Entertainment family of Open Graph object types:

In the header of an HTML page, it appears as meta property:

<meta property="og:food" content="filet mignon" />

Learn more about Open Graph protocol.

Examples: 

1. Filter for content where the Open Graph food metadata is "filet mignon":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object type. You can filter for content by the name of a food. This target belongs to the Products and Entertainment family of Open Graph object types.

Example

Filter for content where the Open Graph food metadata is "pizza".

links.meta.opengraph.geo

Target object: 
Data type: 

Open Graph geo metadata.

Open Graph object property geo.  

You can use this augmentation to filter for content by its geographical location. Be sure to include any one of the three geographical operators that CSDL offers:

The links.meta.opengraph.geo target belongs to the Location family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:geo" content="40.714623,-74.006605:100" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph geo metadata is a location within a 100 kilometer radius of New York:

Array: 
No
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by its geographical location. You must include any one of the three geographical operators that CSDL offers. This target belongs to the Location family of optional Open Graph object properties.

Example

Filter for content where the Open Graph geo metadata is a location within a 50 kilometer radius of London.

links.meta.opengraph.locality

Target object: 
Data type: 

Open Graph locality metadata.

Open Graph object property locality.  

You can use this augmentation to filter for content by its locality information. 

The links.meta.opengraph.locality target belongs to the Location family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:locality" content="Tristate Area" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph locality metadata is "Tristate Area": 

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by its locality information. This target belongs to the Location family of optional Open Graph object properties.

Example

Filter for content where the Open Graph locality metadata is "West Village".

links.meta.opengraph.phone_number

Target object: 
Data type: 

Open Graph phone_number metadata.

Open Graph object property phone_number.  

You can use this augmentation to filter for content by specifying a phone number. 

The links.meta.opengraph.phone_number target belongs to the Contact Information family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:phone_number" content="555-123-4567" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph phone_number metadata includes the specified phone number:

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by specifying a phone number. This target belongs to the Contact Information family of optional Open Graph object properties.

Example

Filter for content where the Open Graph phone_number metadata includes a specified phone number.

links.meta.opengraph.postal_code

Target object: 
Data type: 

Open Graph postal_code metadata.

Open Graph object property postal_code.  

You can use this augmentation to filter for content by a postal code. 

The links.meta.opengraph.postal_code target belongs to the Location family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:postal_code" content="94105" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph postal_code metadata includes "94105":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by a postal code. This target belongs to the Location family of optional Open Graph object properties.

Example

Filter for content where the Open Graph postal_code metadata includes "94105".

links.meta.opengraph.region

Target object: 
Data type: 

Open Graph region metadata.

Open Graph object property region.  

You can use this augmentation to filter for content by a particular region. 

The links.meta.opengraph.region target belongs to the Location family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:region" content="Los Angeles" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph region metadata is "Los Angeles":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by a particular region. This target belongs to the Location family of optional Open Graph object properties.

Example

Filter for content where the Open Graph region metadata is "Los Angeles".

links.meta.opengraph.site_name

Target object: 
Data type: 

Open Graph site_name metadata.

Open Graph object property site_name.

You can use this augmentation to filter for content by the name of a website. Though it is an optional Open Graph object property but most Open Graph Protocol users recommend including it.

The links.meta.opengraph.site_name target belongs to the family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:site_name" content="IMDb" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph site_name metadata includes "IMDb":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by the name of a website. It is an optional Open Graph object property but most Open Graph Protocol users recommend including it. This target belongs to the family of optional Open Graph object properties.

Example

Filter for content where the Open Graph site_name metadata includes "Reddit".

links.meta.opengraph.street_address

Target object: 
Data type: 

Open Graph street_address metadata.

Open Graph object property street_address.  

You can use this augmentation to filter for content by its address information. 

The links.meta.opengraph.street_address target belongs to the Location family of optional Open Graph object properties:

In the header of an HTML page, it appears as meta property:

<meta property="og:street_address" content="Wall Street" />

Learn more about Open Graph protocol.

Examples: 

1.  Filter for content where the Open Graph street_address metadata includes "Wall Street":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

An Open Graph object property. You can filter for content by its street address information. This target belongs to the Location family of optional Open Graph object properties.

Example

Filter for content where the Open Graph street_address metadata includes "Wall Street".

links.meta.twitter.card

Target object: 
Data type: 

The type of Twitter Card: summary, photo, or player.

Indicates whether an interaction is a summary, photo, or player.

There are three different types of cards that can be attached to Tweets:

  • summary: the default card, which includes a title, description, thumbnail image, and Twitter account attribution.
  • photo: a Tweet-sized photo card.
  • player: a Tweet-sized video/audio/media player card.

The links.meta.twitter.card target is part of the family of basic Twitter Cards targets:

 

In the header of an HTML page, it might appear as:

<meta name="twitter:card" content="summary">
 

At the time of writing, Twitter advises users that the twitter:card and twitter:player values must be the same. Similarly, when filtering in DataSift for a particular value in links.meta.twitter.card, it is identical to filtering for that value in links.meta.twitter.player.

Examples: 

1.  Filter for content where the Twitter Card type is a summary:

Notes: 

According to Twitter's Developer Documentation Suite:

  Twitter Cards make it possible for you to attach media experiences to Tweets that link to your content. Simply add a few lines of HTML to your webpages, and users who Tweet links to your content will have a "card" attached to the Tweet that is visible to all of their followers.

As a developer, Twitter Cards:

  • Give you control of how your content is displayed with Tweets
  • Drive traffic to your site
  • Increase the number of people following your Twitter accounts through content attribution

Learn more about Twitter Cards.

 

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

Indicates whether an interaction is a summary, photo, or player.

There are three different types of cards that can be attached to Tweets:

  • summary: the default card, which includes a title, description, thumbnail image, and Twitter account attribution.
  • photo: a Tweet-sized photo card.
  • player: a Tweet-sized video/audio/media player card.

Example

Filter for content where the Twitter Card type is a player.

links.meta.twitter.creator

Target object: 
Data type: 

The Twitter @username of the content creator.

The Twitter @username of the Twitter account which created the content shown in a Twitter Card.

The links.meta.twitter.creator target is part of the Creator Attribution and Website Attribution families of targets:

In the header of an HTML page, it might appear as:

<meta name="twitter:creator" content="@datasift">

Learn more about Twitter Cards.

Examples: 

1.   Filter for content where the Twitter Cards creator metadata is "@DataSift": 

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The Twitter @username of the Twitter account which created the content shown in a Twitter Card.

Example

Filter for content where the Twitter Cards creator metadata is "@Beyonce".

links.meta.twitter.creator_id

Target object: 
Data type: 

Twitter user ID of the content creator.

The Twitter user ID of the Twitter account which created the content shown in a Twitter Card.

The links.meta.twitter.creator target is part of the Creator Attribution and Website Attribution families of targets:

In the header of an HTML page, it might appear as:

<meta name="twitter:creator_id" content="155505157">

Learn more about Twitter Cards.

Examples: 

1.  Filter for content where the Twitter Cards creator_id metadata is "155505157":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The Twitter user id of the Twitter account which created the content shown in a Twitter Card.

Example

Filter for content where the Twitter Cards creator_id metadata is "31239408".

links.meta.twitter.description

Target object: 
Data type: 

A description of the Twitter Card.

A description of the Twitter Card in a maximum of 200 characters.

You can use this augmentation to filter for content by specifying a string or substring contained in the Twitter Cards description metadata.

The links.meta.twitter.description target is part of the family of basic Twitter Cards targets:

In the header of an HTML page, it might appear as:

<meta name="twitter:description" content="Microsoft launches Windows 9" />

Learn more about Twitter Cards.

Examples: 

1.  Filter for content where the Twitter Cards description metadata contains the substring "DataSift":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

A description of the Twitter Card in a maximum of 200 characters. You can filter for content by specifying a string or substring contained in the Twitter Cards description metadata.

Example

Filter for content where the Twitter Cards description metadata contains the substring "US Elections".

links.meta.twitter.image

Target object: 
Data type: 

URL of the image attached to a Twitter Card.

URL of the image attached to a Twitter Card.

This target is populated only if links.meta.twitter.card contains "image". You can use this augmentation to filter for Twitter Cards that contain an image.

The links.meta.twitter.image target is part of the family of basic Twitter Cards targets:

In the header of an HTML page, it might appear as:

<meta name="twitter:image" content="www.example.com/images/datasift.png" />

Learn more about Twitter Cards.

Examples: 

1.   Filter for content where the Twitter Cards image metadata is "www.example.com/images/datasift.png":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The URL of the image attached to a Twitter Card. This target is populated only if a Twitter Card contains an image. You can filter for Twitter Cards that contain an certain image.

Example

Filter for content where the Twitter Cards image metadata is "www.example.com/images/datasift.png".

links.meta.twitter.image_height

Target object: 
Data type: 

Height (in px) of the image.

Height in pixels of the image attached to a Twitter Card.

This target is populated only if links.meta.twitter.card contains "image". You can filter for images of a particular size by using links.meta.twitter.image_width and links.meta.twitter.image_height, to specify the width and height of an image. 

The links.meta.twitter.image_height target is part of the Image family of basic Twitter Cards targets:

In the header of an HTML page, it appears as follows:

<meta content="250" name="twitter:image:height" />

 

Examples: 

1.  Filter for content where the Twitter Cards image_height metadata is "250":

Array: 
Yes
Always exists: 
No
Tweet: 
GUI Tooltip: 

Summary

The height in pixels of the image attached to a Twitter Card. This target is populated only if a Twitter Card contains an image. You can filter for images of a particular size by specifying the width and height of an image. 

Example

Filter for content where the Twitter Cards image_height metadata is "250".

links.meta.twitter.image_width

Target object: 
Data type: 

Width (in px) of the image.

Width in pixels of the image attached to a Twitter Card.

This target is populated only if links.meta.twitter.card contains "image". You can filter for images of a particular size by using links.meta.twitter.image_width and links.meta.twitter.image_height to specify the width and height of an image. 

The links.meta.twitter.image_height target is part of the Image family of basic Twitter Cards targets:

In the header of an HTML page, it appears as follows:

<meta content="250" name="twitter:image:width" />