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

Facebook page

POST
/social/facebook_page

Look up a public Facebook page by URL or slug. Use whenever the user asks about a page's followers, category, contact info, rating, or basic info. Works for pages (brands, businesses, creators) — personal profiles are mostly private.

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_page" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "page": "string"    }  }'
{  "operation": "instagram_profile",  "result": {    "page_id": "string",    "name": "string",    "url": "string",    "intro": "string",    "followers": 0,    "following": 0,    "likes": 0,    "categories": [      "string"    ],    "website": "string",    "phone": "string",    "email": "string",    "address": "string",    "rating": 0,    "verified": true,    "image_url": "string",    "summary": "string"  },  "requests": 0,  "credits_charged": 0}