Ir al contenido
Documentación de Endless

Facebook group posts

POST
/social/facebook_group_posts

Get a PUBLIC Facebook group's posts with engagement counts and reaction breakdowns — community discussion, buy/sell activity, niche conversations. Sort 'chronological' (newest first, default) or 'top'. Private groups return no posts. Use facebook_post_comments with a result's post_id to read a discussion thread.

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_group_posts" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "group": "string"    }  }'
{  "operation": "instagram_profile",  "result": {    "summary": "string",    "guidance": "string",    "group_id": "string",    "count": -9007199254740991,    "posts": [      {        "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,        "external_url": "string",        "image_url": "string",        "album_image_urls": [          "string"        ],        "author": {          "id": "string",          "name": "string",          "url": "string"        },        "group": {          "group_id": "string",          "name": "string",          "url": "string"        }      }    ]  },  "requests": 0,  "credits_charged": 0}