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

getPost error when likes = TRUE #163

Open
rayms opened this issue Jan 29, 2018 · 1 comment
Open

getPost error when likes = TRUE #163

rayms opened this issue Jan 29, 2018 · 1 comment

Comments

@rayms
Copy link

rayms commented Jan 29, 2018

I am encountering the following error when attempting to reproduce the example code:

post <- getPost(post_id, token = fb_oauth, n = 1000, likes = TRUE, comments = FALSE)

Error in while (n.l < n.likes & length(content$data) > 0 & !is.null(url <- content$paging$`next`)) { : 
  argument is of length zero

Can you please advise?

@rayms rayms changed the title getPost error when trying to likes = TRUE getPost error when likes = TRUE Jan 29, 2018
@luanamarinho
Copy link

From what I could notice, n.l < n.likes & length(content$data) > 0 is returning FALSE.
n.l=0 and length(content$data)=0 too.

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