简体   繁体   中英

Tweepy capping at 3182 tweets from a user

I have written a script to get all tweets from a given user and save them to a CSV. However I am noticing that I can only get 3182 tweets from any user supplied to the script. Is there some limit put in place by Twitter? Is there a way to get around this?

As a reference, here is my script.

This is a Twitter-side limitation. Per the documentation :

This method can only return up to 3,200 of a user's most recent Tweets. Native retweets of other statuses by the user is included in this total, regardless of whether include_rts is set to false when requesting this resource.

Tweets beyond this horizon are difficult to find, even through the Twitter website — they will only appear if requested by ID. If you want an archive of all your tweets, use the "Request archive" feature in the Twitter settings .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM