Helpful Tips for Selecting Specific Twitter Tweets to Import

Follow

GNIP PowerTrack provides many useful rules and filters to help you import and select the specific Twitter data that you are interested in. GNIP’s documentation is an important resource and should be consulted before developing your own rules.

Some interesting rules and filters include the following:

place:

Matches tweets tagged with the specified location or Twitter place ID (see examples). Multi-word place names should be enclosed in quotes.

place:Paris

place:“New York City”

More than one place can be selected by enclosing the rule in parenthesis.

(place:"Great Britain" OR place:"United Kingdom")

place_country:

Matches tweets where the country code associated with a tagged place/location that matches the ISO alpha-2 character code.

Note: Be aware that using a country code may be an unreliable filter because so few Tweets contain a country code.

place_country:GB

has:geo

Matches Tweets that have Tweet-specific geo location data provided from Twitter. This can be either “geo” lat-long coordinate, or a “location” in the form of a Twitter “Place”, with corresponding display name, geo polygon, and other fields.

place_country:GB has:geo

(place:"Great Britain" OR place:"United Kingdom" OR place_country:GB) has:geo

is:retweet

Returns only explicit retweets that match a rule.

Note: This operator looks only for true retweets, which use Twitter’s retweet functionality. Quoted tweets and modified tweets that do not use Twitter’s retweet functionality will not be matched by this operator.

-is:retweet

The previous rule can be negated to exclude retweets that match a rule from delivery and only original content is delivered.

 

Reference:

http://support.gnip.com/apis/powertrack2.0/rules.html

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk