Actually, i'm getting the post_id of a facebook's post, and i'm searching to get the page who posts it. Does the functions "getParentId" return it?
Actually, i'm getting the post_id of a facebook's post, and i'm searching to get the page who posts it. Does the functions "getParentId" return it?
According to the Facebook API documentation, the
parent_idis "the ID of a parent post for this post, if it exists." As such, it's not what you're looking for.You can get the id of the page to which a post belongs via facebook4j's getFrom method.
Graph explorer example: