Open kevineers opened 6 years ago
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 (https://github.com/pablobarbera/Rfacebook/issues/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),
from_id = ifelse(!is.null(json$from$id), json$from$id, NA), from_name = ifelse(!is.null(json$from$name), json$from$name, NA),
I have the same big problem
The getPost() function responds with an error:
Is it due to the same reason as this issue (https://github.com/pablobarbera/Rfacebook/issues/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),