Block users
facebook_block_userBlock up to 50 Page-scoped user IDs (PSIDs) from commenting on or messaging your Facebook Page. Reversible and safe to repeat.
Instructions
Add up to 50 PSIDs to the Page's blocked list: they can no longer comment on the Page or message it. Fully reversible with facebook_unblock_user, and blocking an already-blocked user changes nothing, so this is safe to repeat. Each PSID gets its own outcome. Needs a PAGE token with pages_manage_engagement (blocking also affects messaging) 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. | |
| psids | Yes | Page-scoped user IDs (PSIDs) — 1 to 50 per call. A PSID is the per-Page id from a comment author or a conversation, NOT a public profile ID or a username. | |
| 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). |