Skip to content

getPost() throws error #185

@kevineers

Description

@kevineers

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),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions