Facebook API for Pages, Reels and Stories
Meta’s Facebook Graph API splits Page feed posts, multi-photo uploads, Reels and Stories across separate endpoints with strict permission reviews and expiring Page tokens. PostSyncer unifies all Facebook Page publishing, photo first comments, replies and Page analytics under one REST API.
- Page feed posts, link attachments, 10-photo albums, Reels and Stories
- First comments and comment replies can attach a photo or GIF
- Delete live Page posts, hide/unhide comments and read clicks and reach
- Cancel anytime
- Unlimited posts on paid plans
curl -X POST "https://postsyncer.com/api/v1/posts" \
-H "Authorization: Bearer $POSTSYNCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workspace_id": 4815,
"schedule_type": "schedule",
"schedule_for": {
"date": "2026-12-08",
"time": "10:00",
"timezone": "America/Los_Angeles"
},
"content": [
{
"text": "Our spring espresso menu is live across all Portland shops. Stop in for the lavender oat latte."
},
{
"text": "See full seasonal menu and hours at haldencoffee.example/menu",
"media": [
"https://cdn.postsyncer.com/examples/latte-art.jpg"
],
"is_first_comment": true,
"first_comment_delay": 1
}
],
"accounts": [
{
"id": 16237,
"settings": {
"post_type": "POST",
"link": "https://haldencoffee.example/menu"
}
}
]
}'One request schedules the Facebook Page link post and queues the photo first comment for one minute after publication.
01 Quick start
Live on Facebook in three steps
- 1
Connect Facebook Pages
Authorize your Facebook Pages in PostSyncer or generate a hosted OAuth connect link via
POST /accounts/connect-linksfor agency clients. - 2
Send feed posts, Reels or Stories
Call
POST /postswithpost_typeset to POST, REELS or STORIES, attach media or a link, and optionally add a first comment with text or a photo. - 3
Manage Page comments and analytics
Read incoming Page comments, post photo or text replies, hide/unhide spam and pull impressions, clicks and reach from
GET /analytics/posts/{id}.
02 Endpoints
Facebook endpoints on one REST API
Every Facebook operation runs on https://postsyncer.com/api/v1 with Bearer API keys and resource:action permissions.
| Endpoint | Permission | What it does |
|---|---|---|
POST/api/v1/posts | posts:create / schedule / publish | Publish or schedule Facebook Page feed posts, links, 10-photo albums, Reels and Stories. |
DELETE/api/v1/posts/{id} | posts:delete | Cancel a scheduled post or delete a published Facebook Page post remotely. |
GET/api/v1/comments | comments:read | List Facebook Page comments synced on schedule, via live push or via POST /comments/sync. |
POST/api/v1/comments | comments:create | Reply to a Facebook comment as the Page, optionally attaching one photo or GIF. |
PATCH/api/v1/comments/{id}/hide | comments:update | Hide a Facebook comment or pass hidden: false to make it visible again. |
GET/api/v1/analytics/posts/{id} | analytics:read | Read impressions, likes, comments, shares, clicks and reach for a Page post. |
03 Media and text specs
What you can publish to Facebook
Verified media limits, text caps and platform behaviors PostSyncer enforces when sending to Facebook.
| Type | Formats | Limit | Notes |
|---|---|---|---|
| Feed post | Text, link, photos or video | Up to 10 photos or 1 video | Photos and video cannot be mixed in one Facebook post. Feed videos go up to 500 MB. |
| Feed photo | JPG, PNG, GIF, WebP | Up to 10 MB each | Up to 10 photos per feed album; links apply only when the post has no media. |
| Facebook Reel | MP4, MOV, WebM | 1 video · 3s–90s · 100 MB | Auto re-encoded to MP4 when below 540 × 960, outside 24–60 fps or over 25 Mbps. |
| Facebook Story | Photo or video | 1 file · 3s–60s video · 100 MB | Post text is not shown on Stories; requires one photo or one video. |
| Text & cover | Plain text · thumbnail image | 2,200 characters | Longer text is trimmed at publish time. Set video cover via cover_image.thumbnail. |
Platform behavior
Facebook at a glance
- platform key
- Media required
- Only for Stories (photo or video) and Reels (video). Feed posts work with text or links alone.
- First comment
- Supported with text plus up to 1 photo or GIF (no video), delayed by
first_comment_delayminutes. - Deleting posts
- Supported —
DELETE /posts/{id} asks Facebook to delete the live Page post. - Comments API
- Synced on schedule and via push (Stories excluded); reply (+1 photo/GIF), hide, unhide and delete supported.
- Analytics metrics
- impressions, likes, comments, shares, clicks and reach.
04 Capabilities and settings
Everything the Facebook API handles for you
PostSyncer removes the friction of Meta’s split Facebook Page, Video, Reels and Stories APIs while preserving Page-specific features like link cards, photo comments and post deletion.
Feed posts, Reels and Stories from one schema
Switch between Page feed updates, vertical Reels and 24-hour Stories by changing settings.
post_typewithout touching different Meta endpoints or upload protocols.Auto-transcoded Reels and Stories
Feed videos up to 500 MB upload as they are, while Reels (3–90s) and Story videos (3–60s) are automatically re-encoded to compliant MP4 streams when source resolution, frame rate or bitrate falls outside Meta’s thresholds.
Photo & GIF first comments and replies
Unlike Instagram and YouTube, Facebook supports visual engagement underneath posts. Attach one photo or GIF to a scheduled first comment or to any Page comment reply.
Custom video thumbnails
Pass
cover_image.thumbnail on the first content[] item (library ID or public URL) to control the preview image displayed on your Facebook Page video.Full Page comment lifecycle
Sync comments automatically or on demand, reply as the Page, hide spam with
PATCH /comments/{id}/hide, restore hidden comments with hidden: false, or permanently delete comments.Remote post deletion & multi-Page fan-out
Publish different variants to multiple Facebook Pages in one
POST /postsrequest — for instance a link post on one Page and a Reel on another — and delete live Page posts remotely when needed.
Facebook per-post settings keys
Pass any of these optional keys inside accounts[].settings on POST /posts or PATCH /posts/{id}. Keys for other networks are ignored when cross-posting.
| Setting key | Value | What it controls |
|---|---|---|
post_type | "POST" | "REELS" | "STORIES" | Selects Page feed post (default), Facebook Reel (one video) or Page Story (one photo or video). |
title | string (cut at 2,200 chars) | Facebook-specific text overriding the shared post text. |
link | string (URL) | Attaches a clickable link preview card to a Facebook feed post without media. |
media | number[] | Overrides the shared post media with Facebook-specific media library IDs. |
Skip Meta Business verification and multi-endpoint Page uploads
Building directly on Meta’s Facebook Graph API means passing App Review for pages_manage_posts, pages_read_engagement and pages_manage_engagement, maintaining long-lived Page access tokens, and writing three separate upload implementations for feed albums, Reels resumable uploads and Story endpoints.
PostSyncer manages the Meta app approval, Page token lifecycle and upload orchestration for you. Your backend authenticates with one Bearer API key and sends identical JSON payloads whether you publish a text update, a 10-photo gallery, a 500 MB feed video, a 60-second Reel or a Page Story.
Handling links, photo albums and needs_media draft checks
On Facebook, settings.link renders a rich link card only when the post carries no attached media. If you want both a visual asset and a prominent link, attach your photos or video to the main post and put the link — along with an optional follow-up photo or GIF — inside an is_first_comment item.
When creating Stories or Reels, PostSyncer validates media presence before scheduling or publishing. If you save a Story or Reel draft without media yet, PostSyncer saves the draft cleanly and lists the Facebook account under needs_media so your editorial workflow knows what is missing before approval.
05 Response and MCP
Same Facebook rules over REST and MCP
Use the REST API from your backend or connect an AI agent to the Facebook MCP server using the same accounts, permissions and rate limits.
AI agent alternative
Manage Facebook Pages through AI agents with MCP
Give ChatGPT, Claude, OpenClaw or Cursor safe access to your Facebook Pages through PostSyncer’s MCP server — draft Page posts, schedule Reels, reply to Page comments and review reach.
“Schedule our spring menu link post to our Facebook Page for Tuesday at 10 AM and add the latte photo as a first comment.”
PostSyncer MCP server
https:// postsyncer.com/ mcpCross-posting
Ship Facebook plus all 12 networks from one schema
Add more account IDs to the same POST /posts request to publish to Facebook, Instagram, YouTube, LinkedIn, X and the rest together. Each account reads its own settings block while sharing the media upload and schedule.
Limits and plans
What each plan allows
The Facebook REST API is available on every PostSyncer plan, Free included. Paid plans remove the monthly post cap; every plan shares 60 requests a minute.
| Plan | Social accounts | Posts | API posts a day, per network |
|---|---|---|---|
| Free | 2 | 20 a month | Within the 20 |
| Starter$29 a month | 10 | Unlimited | Unlimited |
| Pro$49 a month | 30 | Unlimited | Unlimited |
| Agency$99 a month | 100, then $1/mo each | Unlimited | Unlimited |
Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.
401The API key is missing, wrong or past its end date.403The key lacks the resource:action permission, or the plan limit was reached (plan_limit_reached).422A field failed validation or the network’s rules refused a file, setting or text length.429Too many requests: more than 60 in a minute across your user’s keys, API and MCP together.
Docs
Read more in the docs
- Facebook platform guideMedia limits, settings, comments and analytics on Facebook
- Create a postFull POST /posts request schema and platform settings
- QuickstartAPI keys, workspace IDs and your first scheduled post
- Authentication and permissionsBearer API keys and resource:action permissions
- Media uploads and video coversURL imports, file uploads and cover frames
- Compare all 12 networksSide-by-side matrix of media, threads, comments and deletes
All 12 networks
Explore every platform API on PostSyncer
FAQ
Facebook API questions
Need help with a specific endpoint or webhook? Ask us in live chat.
Chat with usDoes the Facebook API post to Facebook Pages or personal profiles?
PostSyncer connects Facebook Pages (platform: facebook). Personal Facebook profiles are not supported by Meta’s publishing API.
Can I publish Facebook Reels and Stories through the same endpoint?
Yes. Use POST /api/v1/posts and set accounts[].settings.post_type to POST (feed), REELS (one video, 3–90s) or STORIES (one photo or 3–60s video).
Can a Facebook first comment or comment reply include an image?
Yes. Both first comments (is_first_comment: true) and replies via POST /api/v1/comments can include one photo or GIF on Facebook.
Does deleting a post in PostSyncer delete it from my Facebook Page?
Yes. Calling DELETE /api/v1/posts/{id} asks Facebook to delete the published Page post as well as removing it from PostSyncer.
Can I hide and unhide Facebook comments via the API?
Yes. Call PATCH /api/v1/comments/{id}/hide with hidden: true to hide a comment or hidden: false to show it again. Comments on Stories are not read.
What Facebook analytics metrics are available?
GET /api/v1/analytics/posts/{id} returns impressions, likes, comments, shares, clicks and reach for Facebook Page posts.
Automate Facebook Pages from one clean API.
Create an API key in Settings → API and schedule Page posts, Reels, Stories and comment replies today.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans
Page comments, privacy fallbacks and click analytics
PostSyncer checks Facebook Page posts for new comments one hour after publishing, every six hours during day one, and daily through day seven, while also ingesting live pushes from Facebook and supporting on-demand refreshes via
POST /comments/sync. When Facebook withholds a commenter’s identity for privacy reasons, PostSyncer normalizesauthor_nameto Facebook user so your UI never breaks on null strings.Deleting a post via
DELETE /posts/{id} requests remote deletion on Facebook, andGET /analytics/posts/{id} returns impressions, likes, comments, shares, clicks and reach for every Page post.