-
Notifications
You must be signed in to change notification settings - Fork 201
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
search_tweets pulls way more tweets than n specified #449
Comments
I can't reproduce this.
|
I've had the same issue with search_tweets as well as with get_friends/get_followers. They roughly appear to bin to the rate limits for me. For example, search_tweets(query, n = 10000) returned 18,000 tweets. get_followers(acct_name, n=100000) returned 140,000 users (70k rate limit before timeout). I'm not sure if your experience has been the same on your side. I use rtweet 0.7.0 as well. |
Seems that there is a bug somewhere when data <- search_tweets("funny", n = 10000, include_rts = FALSE, retryonratelimit = TRUE) |
Closing in favour of #510. |
Problem
I try to run a line like this, specifying I want to pull 10 tweets using the word "politics", but then it pulls usually over 12,000 tweets. I've tried changing n to other low numbers but it's always the same.
rtweet version
0.7.0
Token
request: https://api.twitter.com/oauth/request_token authorize: https://api.twitter.com/oauth/authenticate access: https://api.twitter.com/oauth/access_token rstats2twitter key: 6j7Ig4xzHlBr8uUJ5A4Ym0NTf secret: oauth_token, oauth_token_secret, user_id, screen_name --The text was updated successfully, but these errors were encountered: