API para Facebook: Respostas a comentários
Liste as respostas a um comentário de post do Facebook (texto, autor, reações e horários) em JSON normalizado.
Preços
Um preço, em dólares
Teste
Faça sua primeira requisição
{
"data": {
"hasNextPage": true,
"nextCursor": "example",
"replies": [
{
"authorId": "Alex Rivera",
"authorName": "Alex Rivera",
"authorProfilePicture": "https://example.com/image.jpg",
"createdUtc": 12.5,
"expansionToken": "a1b2c3d4",
"feedbackId": "a1b2c3d4",
"id": "a1b2c3d4",
"reactionCount": 12500,
"replyCount": 12500,
"text": "A short example description of this item."
}
]
},
"found": true,
"reason": "not_found"
}interface FacebookCommentRepliesResponse {
data: {
hasNextPage: boolean;
nextCursor: string | null;
replies: {
authorId: string;
authorName: string;
authorProfilePicture: string;
createdUtc: number;
expansionToken?: string;
feedbackId: string;
id: string;
reactionCount: number;
replyCount: number;
text: string;
}[];
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/facebook.comment_replies \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"expansionToken":"MjoxNzgzMjI4OTY4OgF_o5zrjDnpemv4bwPtpsShXutqvKIw2bKs2YuJksL1Ak8n8YG-_KPSQGkIks5oW6wdRfhb_cRv9q5OX0NHjFJwEupYNZi9pcMV-FYLWLp47u-eusMkZFOMwbkISsTln7gtSvQrOzlffyavOTIL85PECYzGfunU2IAEkd13CIikxu06Mw10UJ1ShcFAmz8175R1uJfYy_iOixWZukqfrWhUfVOXApXznxx7qXvUxPwct76qe6p7-nVWQrPC_SZc2xh9Z8ggL3WMjgTzSq4oWFSsyZuuVsyVVjSgdjRQiDqtJSeEUlSjTr6vOnKsvKV-GpnBRaeA0BCaNRhqpB4xDZoduBuO5ZYrFvWLJdJLryDhCPI2Ss-Z33cEM2Vz7pLf1wJzE7TuizXPwICSn1DA_Prca-BItTbOUjAjfiySap1LXYkGuuDC2ziUdiEsmE5XhevMP8XtF_2WQlMNcGbXMEQyAWDUawtPAxXgMeRrCO9YGSweFQ4OZumoIlSGa3Vfjy-euUOHT1IAsNbV2A8rAq4HJNU3jCXQTn0vfW9xvbVQhL-53Mhw2YPjhlvUj6QpnGA25N8","feedbackId":"ZmVlZGJhY2s6MTM5MzQ2MTExNTQ4MTkyN18yMDgyNjUzMjQ1ODA5Mzg2"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| expansionToken | string | "MjoxNzgzMjI4OTY4OgF_o5zrjDnpemv4bwPtpsShXutqvKIw2bKs2YuJksL1Ak8n8YG-_KPSQGkIks5oW6wdRfhb_cRv9q5OX0NHjFJwEupYNZi9pcMV-FYLWLp47u-eusMkZFOMwbkISsTln7gtSvQrOzlffyavOTIL85PECYzGfunU2IAEkd13CIikxu06Mw10UJ1ShcFAmz8175R1uJfYy_iOixWZukqfrWhUfVOXApXznxx7qXvUxPwct76qe6p7-nVWQrPC_SZc2xh9Z8ggL3WMjgTzSq4oWFSsyZuuVsyVVjSgdjRQiDqtJSeEUlSjTr6vOnKsvKV-GpnBRaeA0BCaNRhqpB4xDZoduBuO5ZYrFvWLJdJLryDhCPI2Ss-Z33cEM2Vz7pLf1wJzE7TuizXPwICSn1DA_Prca-BItTbOUjAjfiySap1LXYkGuuDC2ziUdiEsmE5XhevMP8XtF_2WQlMNcGbXMEQyAWDUawtPAxXgMeRrCO9YGSweFQ4OZumoIlSGa3Vfjy-euUOHT1IAsNbV2A8rAq4HJNU3jCXQTn0vfW9xvbVQhL-53Mhw2YPjhlvUj6QpnGA25N8"O expansion_token do comentário, obtido no endpoint de comentários do post. |
| feedbackId | string | "ZmVlZGJhY2s6MTM5MzQ2MTExNTQ4MTkyN18yMDgyNjUzMjQ1ODA5Mzg2"O feedback_id do comentário (não o ID do comentário). |
| cursor | string | Cursor de paginação de uma resposta anterior. |
| Resposta | ||
| data | object | Wrapper holding the replies array plus pagination, or null when nothing was found. |
| data.hasNextPage | boolean | True when more replies are available beyond this page. |
| data.nextCursor | string | Opaque cursor for the next page of replies, or null when this lane has no more. Pass it back as cursor to continue. |
| data.replies | object[] | Replies to the comment. Populated whenever the provider has data for the entity. |
| data.replies[].authorId | string | Identifier of the reply author. Populated whenever the provider has data for the entity. |
| data.replies[].authorName | string | Display name of the reply author. Populated whenever the provider has data for the entity. |
| data.replies[].authorProfilePicture | string | URL of the author's profile picture. |
| data.replies[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.replies[].expansionToken | string | Token used to expand nested replies, when present. |
| data.replies[].feedbackId | string | Facebook feedback identifier for the reply. Populated whenever the provider has data for the entity. |
| data.replies[].id | string | Reply identifier. Populated whenever the provider has data for the entity. |
| data.replies[].reactionCount | integer | Number of reactions on the reply. |
| data.replies[].replyCount | integer | Number of replies nested under this reply. |
| data.replies[].text | string | Reply text content. Populated whenever the provider has data for the entity. |
| found | boolean | True when replies were found; false when the lookup returned nothing. |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Respostas a comentários da API para Facebook
O endpoint Respostas a comentários da AnyAPI para Facebook retorna dados de Facebook em JSON normalizado com uma chamada POST para /v1/run/facebook.comment_replies. Liste as respostas a um comentário de post do Facebook (texto, autor, reações e horários) em JSON normalizado. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 98,2% das chamadas ao endpoint Respostas a comentários da API para Facebook feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,2 segundos, em 167 chamadas medidas.