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

Facebook post

POST
/social/facebook_post

Fetch a single public Facebook post or reel by URL. Returns engagement metrics (reactions, comments, reshares, video views), text, the author, and the post_id that facebook_post_comments takes.

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" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "url": "http://example.com"    }  }'
{  "operation": "instagram_profile",  "result": {    "post_id": "string",    "type": "string",    "url": "string",    "text": "string",    "created_at": "string",    "comments_count": 0,    "reactions_count": 0,    "reshare_count": 0,    "reactions": {      "property1": 0,      "property2": 0    },    "video_view_count": 0,    "image_url": "string",    "author": {      "id": "string",      "name": "string",      "url": "string"    },    "video_length_seconds": 0,    "summary": "string"  },  "requests": 0,  "credits_charged": 0}