-2

I have a requirement to get all the tweets from the specific trend in twitter.

Ex: api.get_all_tweets(trend="ABCD")

How can I achieve this with tweepy?

Deduplicator
  • 44,692
  • 7
  • 66
  • 118
Arunkumar
  • 19
  • 2
  • Have you considered [looking at the documentation](http://docs.tweepy.org/en/v3.5.0/streaming_how_to.html)? – Efferalgan Oct 03 '16 at 06:56

2 Answers2

1

There is no way to be guaranteed to capture all tweets. Twitter reserves the right to send you whatever they feel like. For something that is tweeted about infrequently like #upsidedownwalrus you'd probably get all of them, but for something that is a trending topic, you will only ever receive a sample.

0

The Twitter API has limits on what you can retrieve. If you require a census of posted Tweets, you'll need to pay for a service that provides such, but they are few and far between as they need to actively respect deletions.

Jonathan Carroll
  • 3,897
  • 14
  • 34