Facebook
Comments
List, create, and delete comments on published Facebook Page posts.
Manage comments on a published Facebook Page destination.
Create / delete require pages_manage_engagement. List requires pages_read_user_content. After scope upgrades, reconnect Facebook.
List
curl "https://api.onepostly.com/v1/posts/POST_ID/comments?destinationId=DEST_ID&limit=25" \
-H "x-api-key: op_YOUR_KEY"Create
curl -X POST https://api.onepostly.com/v1/posts/POST_ID/comments \
-H "x-api-key: op_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"destinationId": "DEST_ID",
"text": "Thanks for reading",
"parentCommentId": "OPTIONAL_PARENT_COMMENT_ID"
}'Comments are posted as the Page.
Delete
curl -X DELETE "https://api.onepostly.com/v1/posts/POST_ID/comments/COMMENT_ID?destinationId=DEST_ID" \
-H "x-api-key: op_YOUR_KEY"Supported media
mediaKind | Comments |
|---|---|
Text / image / multi-image / video | Yes |
stories | No — unsupported / UNSUPPORTED_MEDIA |
Related
See also Engagement, Posts, and Webhooks.