Skip to main content
POST
Facebook Posts API

Facebook Posts

Collect public Facebook post data, including post text, source URLs, media fields, and engagement metrics.

Endpoint

Request Body

Provide public Facebook page/profile URLs in urls. Keyword search, username-only input, and individual post/reel URLs are not supported. Legacy query and usernames fields are ignored when valid urls are supplied. Use public Facebook Page URLs; personal-profile posts are not guaranteed to be available.

Use with MCP

Use the JSON request body above as the nested input object for socq_execute, or pass the same fields directly to the typed tool. Typed tools also accept _wait_seconds, _result_limit, and _idempotency_key.
A successful collection returns a task_id. Continue with socq_get_task until the task succeeds, then read normalized records from results.items.
See MCP quickstart for the complete submission and polling flow.

Result Fields

Task results use the stable SocQ fields below. Source-specific field names and formats are normalized without inferring or enriching values that the source did not provide. To request a smaller field set, use fields for MCP queries, _result_fields for typed tools, or --result-fields in the CLI. Declared fields remain present when their value is null.

Completed Task Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Provide public Facebook page/profile URLs in urls. Keyword search, username-only input, and individual post/reel URLs are not supported. Legacy query and usernames fields are ignored when valid urls are supplied.

urls
string[]
required

Public Facebook page/profile URLs, such as https://www.facebook.com/nasa. Individual post/reel URLs are not supported.

Minimum array length: 1
Minimum string length: 1
callback_url
string<uri>
query
string
deprecated

Deprecated and ignored. Provide page/profile URLs in urls; this endpoint does not perform keyword search or resolve usernames.

Minimum string length: 1
results_limit
integer
Required range: 1 <= x <= 2000
usernames
string[]
deprecated

Deprecated and ignored. Provide page/profile URLs in urls; this endpoint does not perform keyword search or resolve usernames.

Minimum array length: 1
Minimum string length: 1

Response

Task accepted

code
integer
data
object