Ir para o conteúdo
Documentação do Endless

Facebook post comments

POST
/social/facebook_post_comments

Get the comments on a public Facebook post. Pass post_id when you already have it (from facebook_page_posts, facebook_search, or facebook_post results — saves a lookup), otherwise pass the post URL. Use when the user asks about comments, reactions, or sentiment on a specific post.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/social/facebook_post_comments" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {}  }'
{  "operation": "instagram_profile",  "result": {    "summary": "string",    "post_id": "string",    "count": -9007199254740991,    "comments": [      {        "comment_id": "string",        "created_at": "string",        "text": "string",        "replies_count": 0,        "reactions_count": 0,        "author": {          "id": "string",          "name": "string",          "url": "string"        }      }    ]  },  "requests": 0,  "credits_charged": 0}