Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.letmepost.dev/llms.txt

Use this file to discover all available pages before exploring further.

Facebook Pages publishing via the Meta Graph API. Connecting Facebook is the entry point for both facebook and instagram platforms in letmepost — see the Instagram page for the fan-out.

Connect

POST /v1/accounts/connect/facebook. Standard Facebook Login for Business OAuth. After complete, we discover Pages via GET /me/accounts and create one platform_accounts row per Page (plus one IG row per Page that has an IG Business linked).

Scopes

pages_show_list             — list Pages the user manages
pages_manage_posts          — create posts on Pages
pages_read_engagement       — pre-req for posts on some apps
business_management         — Pages connected via Business
instagram_basic             — read IG Business per Page
instagram_content_publish   — IG container publish
The IG scopes are requested even on the Facebook connect because the same OAuth grant covers both. extended adds insights / engagement scopes.

Token lifecycle

Long-lived (~60-day) tokens, refreshed on schedule.

Posting

text.json
{
  "account": { "platform": "facebook", "id": "..." },
  "text": "Page update"
}
photo.json
{
  "account": { "platform": "facebook", "id": "..." },
  "text": "with a photo",
  "media": [{ "kind": "image", "mediaId": "med_…" }]
}

Constraints

Preflight rules

See also