Reply to and hide a comment
facebook_reply_and_hide_commentPosts a public reply under a Facebook comment and then hides that comment in one approved step, using a preview-first plan for spam or abuse moderation.
Instructions
Post a PUBLIC reply under a comment and then hide that comment, in one approved step — e.g. "We have sent you a DM" under spam or abuse. The reply goes first, so a failed reply hides nothing; a comment that is already hidden only gets the reply. Always previews first: apply needs the plan_id of that preview, and a comment edited or hidden in between makes the apply diverge. Each step reports its own outcome; if the hide fails, finish with facebook_hide_comment. Both steps are reversible (delete the reply, unhide the comment), but the reply is NOT idempotent — never retry blindly. Needs a PAGE token with pages_manage_engagement and the MODERATE task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Set true to actually perform the write. Omitted or false ⇒ the server decides from its configured write mode: usually a dry run that returns a plan preview and changes nothing, but a server (or package) configured apply-first performs the write. To be certain nothing happens, read the result: a dry run always reports the plan and says the write was NOT performed. | |
| message | Yes | The text to send. Written by you — Facebook rejects an empty message. | |
| plan_id | No | The `planId` returned by a preceding dry-run preview of this same tool. Required for irreversible and spend-tier writes; plans expire a few minutes after they are created. | |
| profile | No | Page profile key (e.g. "brand-a") or a raw Page ID. Omitted ⇒ the default Page (FB_PAGE_ID). | |
| attachment | No | Optional photo or GIF for the reply. Pass `url` with image_url / gif_url, `path` with photo_path. | |
| comment_id | Yes | Comment ID, e.g. "123456_789012" as returned by facebook_list_comments. Not a post ID. |