API para Facebook

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.

POST/v1/run/facebook.comment_replies
Disponibilidade
98,20%
30d · 167 chamadas
Requisições
168
30d · semanal, últimas 12 sem.
Resposta
1,2s
mediana · 30d

Preços

Um preço, em dólares

Teste

Faça sua primeira requisição

Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.
{
  "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 da resposta
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 30d
POST /v1/run/facebook.comment_replies
curl -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-eusMkZFOMwbkISsTln7gtSvQrOzlffyavOTIL85PECYzGfunU2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Aq4HJNU3jCXQTn0vfW9xvbVQhL-53Mhw2YPjhlvUj6QpnGA25N8"O expansion_token do comentário, obtido no endpoint de comentários do post.
feedbackIdstring"ZmVlZGJhY2s6MTM5MzQ2MTExNTQ4MTkyN18yMDgyNjUzMjQ1ODA5Mzg2"O feedback_id do comentário (não o ID do comentário).
cursorstringCursor de paginação de uma resposta anterior.
Resposta
dataobjectWrapper holding the replies array plus pagination, or null when nothing was found.
data.hasNextPagebooleanTrue when more replies are available beyond this page.
data.nextCursorstringOpaque cursor for the next page of replies, or null when this lane has no more. Pass it back as cursor to continue.
data.repliesobject[]Replies to the comment. Populated whenever the provider has data for the entity.
data.replies[].authorIdstringIdentifier of the reply author. Populated whenever the provider has data for the entity.
data.replies[].authorNamestringDisplay name of the reply author. Populated whenever the provider has data for the entity.
data.replies[].authorProfilePicturestringURL of the author's profile picture.
data.replies[].createdUtcnumberUTC 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[].expansionTokenstringToken used to expand nested replies, when present.
data.replies[].feedbackIdstringFacebook feedback identifier for the reply. Populated whenever the provider has data for the entity.
data.replies[].idstringReply identifier. Populated whenever the provider has data for the entity.
data.replies[].reactionCountintegerNumber of reactions on the reply.
data.replies[].replyCountintegerNumber of replies nested under this reply.
data.replies[].textstringReply text content. Populated whenever the provider has data for the entity.
foundbooleanTrue 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çãoUSDUS$ 0,0012
Preço /mil req.USDUS$ 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.

Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

Liste as respostas a um comentário de post do Facebook (texto, autor, reações e horários) em JSON normalizado. A resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

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. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.