Artistogram

Menu
  • Home
  • Blog
    • About
    • Contact
    • Privacy Policy
  • Blogging
    • Blog
    • Earning
    • Opinion
    • Computer Tips
  • Google
  • SEO
  • Website
  • Software’s
  • Development

Artistogram - Learn Become to Expert...

Join Now For Free
Home
Blogging
Twitter Search Examples for Twitter Bots
Blogging

Twitter Search Examples for Twitter Bots

namanmahajan January 14, 2021

This is a complete list of search operators that you can use with Twitter Bots. The bots will use the Twitter API to find tweets that match your search criteria and perform the action on each of the matching tweets.

Twitter Search Operators

Search QueryDescription
red applesTweets that contain both “red” and “apples” anywhere. This is the default operator
“merry chrismtas”Tweets that contain the exact phrase in the same order
Apples OR OrangesUse the Boolean OR operator in capital letters
#foodAll tweets that contain a particular hashtag
@labnolTweets that @mention or reference a particular user
grapes -apples -orangesTweets that contain grapes but not the words apple or oranges
from:BarackObamaTweets written by a specific Twitter user
from:BarackObama to:WhitehouseTwitter from one user that mention another specific user
to:BarackObama -filter:links -filter:imagesTweets that do not contain links or images
elections list:TIME/time-staffSearch for tweets from users who belong to a particular Twitter list
#foodrecipe lang:enTweets sent in particular language (en = English). Do not use the lang operator to search tweets in any language.
#holiday good OR amazing OR awesome filter:imagesTweets that mention #holiday, described as awesome or amazing, and include photographs
tornado filter:mediaShow tornado tweets containing images or videos
music concert filter:native_videoShow tweets that contain native video (uploaded inside tweet)
india filter:newsShows tweets containing news stores
iphone url:amazonShow tweets that contain the word “iphone” a URL with the word amazon anywhere in the web address.
awesome video filter:linksShow tweets that contain the words “awesome” and “video” and include a link (URL)
include:repliesThe Twitter bot, by default, will ignore tweets that are replies to another tweets
include:retweetsThe Twitter bot, by default, will skip tweets that are retweets. We suggest that you do not include this filter.

How to Search Tweets by location

You can use Twitter bots to only search for geotagged tweets but it takes a few extra steps to construct your search query using geolocation.

Go to Google Maps Lookup and search for a location (let’s say Battery Park, NY).

google-maps.png

The info window will display the latitude and longitude information of that place. In the Twitter bot search box, enter geocode:latitude,longitude,radius, where radius units must be specified as either mi (miles) or km (kilometers).

For this example, our geolocation query would be:

geocode:40.7024946,-74.016858,2mi (Search tweets by users located within 2 mile radius of the Battery Park area)

How to Search Tweets by popularity

Thousands of tweets are posted every minute and a good number of them could be spam. Twitter offers no option to filter tweets by quality but, while setting up Twitter Bots, you can set up a threshold and any tweet not matching that number will be ignored.

You can specify the Follower / Friend count and tweets from users who have less number of followers / friend that the specified number are ignored.

Similarly, you can specify a minimum number of favorites / retweet count and the bot would only look at tweets that have been retweeted or favorited at least that many number of times.

twitter-popular-count.png

Twitter Search Limitations

While the Twitter search API is powerful, there are few limitations that you should be aware of.

  1. Limit your searches to 10 keywords and operators.
  2. The near: search operator does not work with Twitter bots. Use the geocode: operator as described above.
  3. You cannot use before or after search operators to search old tweets by date. These date search operators only work on the Twitter website.
  4. Twitter search results have a 7 day limit and no tweets will be found for a date older than one week.
  5. Twitter API may not handle queries that are either too long or contain too many search operators.
  6. The Twitter Search API is not meant to be an exhaustive source of Tweets. Not all Tweets will be indexed or made available via the search interface.
  7. You can use the lang operator to restrict tweets to the given language but language detection may not be perfect.
  8. When conducting geo searches, the search API will first attempt to find Tweets which have lat/long within the queried geocode, and in case of not having success, it will attempt to find Tweets created by users whose profile location can be reverse geocoded into a lat/long within the queried geocode, meaning that is possible to receive Tweets which do not include lat/long information.
Prev Article
Next Article

Related Articles

BECOMING A GRAPHIC & DIGITAL DESIGNER,
BECOMING A GRAPHIC &  DIGITAL DESIGNER,  BECOMING A GRAPHIC & …
namanmahajan November 14, 2019

BECOMING A GRAPHIC & DIGITAL DESIGNER,

How to animate 3D text in Maya Maya 2019 tutorial
How to animate 3D text in Maya Maya 2019 tutorial  …
namanmahajan November 16, 2019

How to animate 3D text in Maya Maya 2019 tutorial

Privacy Policy – Email Address Extractor
Why Add-on Needs Permission to Access your Google Account The …
namanmahajan January 14, 2021

Privacy Policy – Email Address Extractor

The Government of India has as of late presented an …
namanmahajan January 7, 2021

How Businesses can Check Health Status of Employees with Aarogya Setu

Redmi Note 8 Pro (Electric Blue, 6GB RAM, 64GB Storage with Helio G90T Processor)
Redmi Note 8 Pro (Electric Blue, 6GB RAM, 64GB Storage …
namanmahajan June 25, 2020

Redmi Note 8 Pro (Electric Blue, 6GB RAM, 64GB Storage with Helio G90T Processor)

You can utilize Google Script to make JSON Web Tokens …
namanmahajan January 7, 2021

How to Create JSON Web Token (JWT) with Google Apps Script

About The Author

namanmahajan

I am a Multimedia artist, I am born and based on Dewas (M.P), I am working as a freelancer with various brands and different country. My expertise are Graphics designing, motion graphics, 2d/3d animation, advertising videos, cartoons designing, all types of packaging and branding designing, digital marketing, SEO, design website and app Developments etc...

Tags:Twitter Bots Twitter Search

Leave a Reply

Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Archives

  • January 2021
  • December 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019

Meta

  • Register
  • Log in

Artistogram

Recent Posts

  • Camtasia Studio: Create Screencasts for iPhone & iPod in 2021
  • How to Regenerate Files with Document Studio
  • How to Add QR Codes in Emails and Google Documents
  • How to Share Merged Documents with Document Studio

Archives

  • January 2021
  • December 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019

Categories

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2021 Artistogram
Theme by Artistogram.in

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh
Go to mobile version