Facebook private replies API: message someone who commented on a Page
A Facebook private reply is sent with POST /{page-id}/messages, with recipient.comment_id set to the comment's ID, or recipient.post_id for a visitor post, using a Page token from someone with the MESSAGING task. Meta allows one message per comment or visitor post, within 7 days, and can_reply_privately on the comment says whether one is still possible. The message arrives in Messenger, linked to the comment or post it replies to.
easyCoexistence sends private replies with reply_to_comment and private set to true, from Claude, ChatGPT or your own code, and comment-to-DM rules, up to 50 per Page, send them around the clock with an optional public reply under the comment.
What a Page can send as a private reply to the person who commented or posted.
How long after the comment or visitor post was created a private reply can still be sent.
Comment field that says whether the Page can still send a private reply to that comment.
Error subcode, under code 100, for a comment that is invalid for a private reply.
What is a private reply?
A single Messenger message from the Page to someone who commented on one of its posts, replied to a comment there, or published a visitor post on the Page. Meta includes a link to the comment or post it replies to, so the person sees what it refers to. Private replies cannot go to another Facebook Page.
How is one sent?
With POST /{page-id}/messages, setting recipient to comment_id, or to post_id for a visitor post, and message to the content. The token must come from someone who can perform the MESSAGING task on the Page, with the pages_messaging permission. Meta makes all Send API messaging types available for private replies, and its own example sends buttons.
POST /{page-id}/messages
{
"recipient": { "comment_id": "<COMMENT_ID>" },
"message": { "text": "<YOUR_MESSAGE>" }
}What are the limits?
Meta sets them in its private replies guide:
- One message per comment or visitor post.
- Sent within 7 days of when the comment or post was created.
- Never to another Facebook Page.
- More messages only after the person answers, inside the 24-hour window that their answer opens.
What happens after the reply?
The conversation waits for the person. When they answer, a standard messaging window opens and the Page can write back within 24 hours of their message; until then the comment has used its one reply. private_reply_conversation, a field on the comment, returns the conversation a private reply started, so the answer can be matched to the comment that led to it.
Which errors can a private reply return?
Three come up in Meta's references. Reading the comment's can_reply_privately field first tells you whether the Page can still send a private reply to it at all:
- Error 10900, Activity already replied to: the comment or visitor post has had its one private reply, per the Page messages reference.
- Code 100, subcode 2534025: the comment is invalid for a private reply; Meta's fix is to check that the type of data in the reply is allowed.
- Code 10, subcode 2534022: the message went outside the allowed window, as any later message does once 24 hours pass after the person's answer.
How do you send one from Claude, ChatGPT or your code?
With reply_to_comment and private set to true: give it the comment's ID, from list_social_comments or a forwarded feed event, and the text, and the commenter receives it in Messenger. Without private, the same tool replies in public under the comment. A private reply to a visitor post, or one with buttons, is not among the tools.
Common mistakes
- Sending a second private reply to one comment. Meta allows one, so wait for the person to answer before writing again.
- Replying privately to a comment older than 7 days. The window for a private reply has closed; reply in public under the comment instead.
- Polling the feed endpoint for comment IDs. Meta recommends taking them from the feed webhook instead, to avoid rate limiting.
- Sending with a user access token. Private replies take the Page access token, the one /me/accounts returns for the Page, not the token of the person signed in.
US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.
easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.
Frequently asked questions
How many private replies can one Facebook comment get?
One. Further messages wait until the person answers it, and then go out within 24 hours of their reply.
Where does a Facebook private reply arrive?
In the person's Messenger, as a message from the Page that links to the comment or post it replies to.
Can a Page send a private reply to a visitor post?
Yes. Meta covers visitor posts as well as comments, with recipient.post_id set to the visitor post's ID, within 7 days of when it was published.
Can easyCoexistence send private replies without code?
Yes. Its comment-to-DM rules send one whenever a comment on the Page contains a keyword you choose, around the clock, and automations can have your own AI write it.
Keep reading
Connect your first channel in two minutes.
No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.
- 3 days free
- Cancel any time
- Official APIs only
- Monitored 24/7
Verified on