Hide or Unhide a Facebook Comment
meta_hide_commentHide or unhide a Facebook comment to moderate non-destructively. Hidden comments stay visible to the author and friends, offering an alternative to deletion.
Instructions
Hides or unhides a comment on a Facebook Page post.
Hidden comments are only visible to the comment author and their friends. This is a non-destructive alternative to deletion — useful for moderation.
Args:
comment_id (string): Comment ID to hide/unhide
page_id (string): Page ID (for authentication)
is_hidden (boolean): true to hide, false to unhide
Requires pages_manage_engagement permission.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"comment_id": "<comment_id>",
"page_id": "<page_id>",
"is_hidden": "<is_hidden>"
},
"name": "meta_hide_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment_id | Yes | ||
| page_id | Yes | Page ID (for auth) | |
| is_hidden | Yes | true to hide, false to unhide |