# StableSocial Facebook Posts API

> StableSocial Facebook Posts API is a paid API for AI agents from stablesocial.dev, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-14).

Creates or retrieves Facebook posts via a paid per-call API endpoint.

## Facts

- Endpoint: POST https://stablesocial.dev/api/facebook/posts
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablesocial-dev-f513774f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tdiGMajA4-PXmt2zbWpor

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablesocial-dev-f513774f -d '<json body>'
```

Example prompt: Pull the recent posts from the Facebook page 'NationalGeographic' using StableSocial so I can see what they've been publishing this week.

## When to prefer this

Use this endpoint when you need programmatic access to Facebook post data or want to create Facebook posts via a paid API without managing Facebook Graph API credentials directly. Prefer this over direct Facebook API integration when you want a simple pay-per-call model.

## Known failure modes

- Invalid Facebook user or page identifier returns error
- Insufficient payment or payment not processed returns authorization failure
- Private or restricted Facebook content may return empty or access denied
- Rate limiting may occur for high-frequency requests
- Facebook page not found returns 404-equivalent error

## How this service works

An API endpoint for creating or retrieving Facebook posts via a paid request. Intended for social content access or post management related to Facebook.

## Output

Returns Facebook post data including post content, metadata, engagement metrics, timestamps, and other post-level details for the requested Facebook user or page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cursor": {
   "type": "string",
   "description": "Pagination cursor"
  },
  "order_by": {
   "enum": [
    "date_desc",
    "date_asc",
    "id_desc"
   ],
   "type": "string",
   "description": "Sort order"
  },
  "max_posts": {
   "type": "integer",
   "default": 50,
   "maximum": 300,
   "minimum": -9007199254740991,
   "description": "Maximum number of posts to collect"
  },
  "profile_id": {
   "type": "string",
   "minLength": 1,
   "description": "Facebook profile ID or username"
  },
  "max_page_size": {
   "type": "integer",
   "default": 50,
   "maximum": 9007199254740991,
   "minimum": -9007199254740991,
   "description": "Results per page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "jobId": "clx0000000000000000000000",
  "token": "eyJ...",
  "status": "pending",
  "pollUrl": "https://stablesocial.dev/api/jobs/clx0000000000000000000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablesocial-dev-f513774f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablesocial.dev](https://www.zero.xyz/host/stablesocial.dev/llms.txt)
