Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

twitter-archiver only works with recent tweets #447

Open
msw9 opened this issue Apr 23, 2022 · 1 comment
Open

twitter-archiver only works with recent tweets #447

msw9 opened this issue Apr 23, 2022 · 1 comment

Comments

@msw9
Copy link

msw9 commented Apr 23, 2022

hello, as said in the title i would like to archive all the tweets of an user even if they've been active for years and, then, have posted thousands of tweets. however, twitter-archiver allows me to collect only a couple of tweets throughout the current year - or sometimes end of last year.

why is there a limit? and how can i bypass it, please?

@RouxRC
Copy link
Member

RouxRC commented Apr 23, 2022

You can't with the API, this is a Twitter limit as documented here: "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."

If you want to go further you can use some scraping tools such as minet for instance like this:
minet twitter scrape tweets "from:@YOURTWITTERACCOUNT

Although this won't return you all retweets from the desired account, only originating tweets.

To get everything I think the only solution requires to use the search all route of the API V2 but it is limited to academic accounts which you would need to apply for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants