This guide explains how to publicly reply to a specific person, who has posted on your Page or commented on your Page post, in a comment or reply. A notification will be sent to the person who has been mentioned by the Page.
You will need:
CREATE_CONTENT
task on the Pagepages_read_user_content
permissionpages_manage_engagement
permissionMODERATE
task on the Page being queried.Send a POST
request to the /{page-post-id}
endpoint:
curl -i -X POST "https://www.graph.facebook.com/{page-post-id} ?message="Thanks for your post to our Page, @[{user-id}]" &access_token={page-access-token}"
On success, your app receives the following response:
{ "id": "{comment_id}" }
Send a POST
request to the /{page-post-id}/{comment-id}
or the /{comment-id}/comments
endpoint:
curl -i -X POST "https://www.graph.facebook.com/{page-post-id} ?message="Thanks for your comment on our Page post, @[{user-id}]" &access_token={page-access-token}"
On success, your app receives the following response:
{ "id": "{comment_id}" }