Ahan Bose
Ahan Bose

Reputation: 11

I set count to 500 but tweepy.cursor returns only 276 tweets,how do i get 1000plus tweets?

My code:

tweets = tweepy.Cursor(api.search,
          q=search_words,
          count=500,
          geocode="20.5937,78.9629,1000km",
          lang="en",
          since=date_since,until=date_until).items(500)

after saving to a pandas dataframe: df.shape returns (267,9)

Upvotes: 1

Views: 199

Answers (1)

Hoxha Alban
Hoxha Alban

Reputation: 1137

From twitter search api:

Please note that Twitter's search service and, by extension, the 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.

Upvotes: 1

Related Questions