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

Getting all tweets from an account #243

Open
kintonc opened this issue Jan 29, 2025 · 0 comments
Open

Getting all tweets from an account #243

kintonc opened this issue Jan 29, 2025 · 0 comments

Comments

@kintonc
Copy link

kintonc commented Jan 29, 2025

Hi,

I'm trying to use the library to get all tweets from an account. Reading through the issues here, it seems that pagination should be automatically handled.

I am using:

from twitter.scraper import Scraper

scraper = Scraper(cookies={
    "ct0": "xxx", 
    "auth_token": "xxx"})

tweets = scraper.tweets([816683586552287232])

However this only gets ~50 to 100 tweets (the account has 2.2k tweets), as:

len(tweets) is 50 to 100

What am I doing wrong? I don't think I'm hitting the rate limits yet, so not sure what I'm doing wrong.

Thanks!

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

1 participant