Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

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
Collaborator

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
Collaborator

hadley commented Feb 27, 2021

Now tracking in #510

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

No branches or pull requests

3 participants