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

Invalid time error using get_followers #396

Closed
jantleon opened this issue Mar 8, 2020 · 2 comments
Closed

Invalid time error using get_followers #396

jantleon opened this issue Mar 8, 2020 · 2 comments
Labels

Comments

@jantleon
Copy link

jantleon commented Mar 8, 2020

Hi, I'm trying to get someone's followers. There are more than 75000 followers, so I have to use the parameter retryonratelimit.

I'm using this code:

vox <- lookup_users("vox_es")

vox <- get_followers(
"vox_es", n = vox$followers_count, retryonratelimit = TRUE
)

But it returns this error:

Downloading [=========================================] 100%
75000 followers!
Waiting about 14.8 minutes for rate limit reset...
Waiting about -0.1 minutes for rate limit reset...
Error in Sys.sleep(as.numeric(rl$reset, "secs") + 2) :
valor de 'time' no válido

I've already tried CRAN and Github versions, and no one works. How could I solve that problem?

Cheers!

@llrs llrs mentioned this issue Feb 15, 2021
@llrs llrs added the bug label Feb 17, 2021
@llrs
Copy link
Member

llrs commented Feb 17, 2021

This got fixed in get_friends but not on get_followers as reported by a comment I overlook on #277

@hadley
Copy link
Member

hadley commented Feb 27, 2021

Now tracking in #510

@hadley hadley closed this as completed Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants