Moderation
resource: moderation — hide/unhide or delete a comment on the Page
hideComment
Hides or un-hides a comment via Graph API POST /{commentId} with an is_hidden
body parameter.
| Field | Type | Required | Description |
|---|---|---|---|
commentId | text | ✓ Yes | Target Facebook comment ID. |
isHidden | bool | No | true to hide, false to unhide. Defaults to true. |
Example response:
{
"commentId": "987654321_111",
"isHidden": true
}
Body param, not the legacy query flag: the node sends
is_hidden in the
request body rather than the older ?method=hide query parameter, because that legacy
parameter only ever hides a comment — it silently ignores isHidden=false and can't be used
to unhide one. The body-param form honors both directions.
deleteComment
Permanently deletes a comment via Graph API DELETE /{commentId}.
| Field | Type | Required | Description |
|---|---|---|---|
commentId | text | ✓ Yes | Target Facebook comment ID. |
Example response:
{
"commentId": "987654321_111",
"deleted": true
}
Not reversible: unlike
hideComment, a deleted comment cannot be restored.
Prefer hideComment for routine moderation and reserve deleteComment for
spam/abuse cleanup.