dm_comment_private_reply
Send a DM to the author of a comment, in reply to that comment (Meta 'Private Replies'). Bypasses the 24h window (comments up to 7 days old) and creates/reuses a chat automatically. One private reply per comment, ever. Instagram and Facebook (Page comments) only. Supports the same quick_replies / buttons / card interactive elements as dm_message_send; media attachments are not available on private replies.
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": {
"post_id": "<post_id>",
"comment_id": "<comment_id>",
"profile_id": "<profile_id>",
"text": "<text>"
},
"name": "dm_comment_private_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | Extra generic-template fields for the card that carries buttons — requires buttons. Renders a richer product-style card. | |
| text | Yes | DM text | |
| buttons | No | Up to 3 buttons attached to the reply, which stay in the thread. Sent as a Meta generic template whose element title is your text — so text is capped at 80 characters when buttons are present. A postback tap arrives as an inbound message carrying tapped_action.payload. | |
| post_id | Yes | Post hashid | |
| comment_id | Yes | Comment hashid OR external ID | |
| profile_id | Yes | Profile hashid (Instagram or Facebook only) | |
| quick_replies | No | Up to 13 tappable chips shown above the participant's composer; they disappear once one is tapped. A tap arrives as an inbound message carrying tapped_action.payload. On Instagram, quick replies cannot be combined with buttons (Facebook accepts both). |