Post as a reply/response to a previous post in Facebook Workplace

138 views Asked by At

If I do the following request: enter image description here
I get an ID back in the format: groupid_postid This is taken from here: https://developers.facebook.com/docs/workplace/reference/graph-api/post. However, there doesn't appear to be any way of posting as a reply to a post. I decided to try and intuitively come up with routes into it: enter image description here
and many more but I'm just making it up at this point. Anyone have any idea how to post a message as a reply to that post id you get back? It's possible within the workplace itself: enter image description here
so I had assumed it was possible.

1

There are 1 answers

0
Jimmyt1988 On BEST ANSWER

You can post a comment under another comment using the following API:

POST https://graph.workplace.com/{post-id}/comments

with a body like so:

{
    "message": "Comment on article post"
}

Note:

  • The ID shouldn't be the group-id_post-id. It should just be the post-id.