Yes that is what we have been doing (standard search API and Tweepy), as well as using Twitter Advanced Search (https://twitter.com/search-advanced?lang=en) and Evernote to download–all have been giving similar results.
Some Tweets we are expecting to see like these are not appearing in either search:
We want to collect as many tweets as we can on the topic from Jan 1 to Dec 31 2017. Is there a better method you can recommend to do this?
here is the code we are using on standard search API and Tweepy
import tweepy
consumer_key = "Xxxxxxx"
consumer_secret = "bxxxxxxx"
auth = tweepy.OAuthHandler(consumer_key=consumer_key, consumer_secret=consumer_secret)
api = tweepy.API(auth)
results = api.search(q="breastfeeding", count="100", geocode="45.391758,-75.7234487,25km")
def print_tweet(tweet):
print "<tweet>"
print "<handle>@%s</handle>" % (tweet.user.screen_name)
print "<profilelocation><%s/profilelocation>" % (tweet.author.location)
print "<coordinates>%s</coordinates>" % (tweet.coordinates)
print "<geotag>%s</geotag>" % (tweet.geo)
print "<username>%s</username>" % (tweet.user.name)
print "<timestamp>%s</timestamp>" % (tweet.created_at)
print "<text>%s</text>" % (tweet.text)
print "</tweet>"
for i in range(len(results)):
print_tweet(results[i])