Skip to main content

Ids

A post id is {pageId}_{postId}. A comment id from a webhook is {postId}_{commentId}.
Post ids come from comment webhook events or from your post list.

List comments

filter=stream returns every comment, replies included, oldest first. A reply carries parent.id.
Results are paginated with paging.cursors.after.

Reply publicly

Posts a reply under the comment.
Hidden or deleted comments cannot be replied to. Unhide first.

Reply privately

Sends a Messenger message to the commenter instead of a public reply.
Private replies have hard limits from Meta:
One private reply per comment.
Within 7 days of the comment.
A rejected private reply is permanent for that comment. Retrying the same call cannot succeed.
The person’s reply, if any, opens a normal 24-hour window.

Hide, unhide and delete

Hidden comments stay visible to their author and their friends. Delete is irreversible and only works on comments on the Page’s own posts.

Moderate with the CLI

The CLI accepts either comment id form and picks the right one for each call.

Moderate with MCP

Three tools cover comments: list_facebook_comments, reply_facebook_comment (public, or private with private: true) and moderate_facebook_comment (hide, unhide or delete).
See MCP for setup.

Next steps