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() throws error #185

Open
kevineers opened this issue Jun 14, 2018 · 1 comment
Open

getPost() throws error #185

kevineers opened this issue Jun 14, 2018 · 1 comment

Comments

@kevineers
Copy link

The getPost() function responds with an error:

Error in data.frame(from_id = json$from$id, from_name = json$from$name, :
arguments imply differing number of rows: 0, 1

Is it due to the same reason as this issue (#168), where Facebook is not returning the from_id and from_name fields due to the API update?

If so, could the method "postDataToDF" in utils.R be updated to include the ifelse used in replyDataToDF:
from_id = ifelse(!is.null(json$from$id), json$from$id, NA), from_name = ifelse(!is.null(json$from$name), json$from$name, NA),

@giacomofrisoni
Copy link

I have the same big problem

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