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?
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?
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.
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.