Skip to content
Black Friday: 40% off the first year, until December 1
Facebook REST APIFacebook Pages

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
Free plan: 2 accounts, 20 posts a month, no cardNeed AI agents? Facebook MCP
  • 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. 1

    Connect Facebook Pages

    Authorize your Facebook Pages in PostSyncer or generate a hosted OAuth connect link via POST /accounts/connect-links for agency clients.

  2. 2

    Send feed posts, Reels or Stories

    Call POST /posts with post_type set to POST, REELS or STORIES, attach media or a link, and optionally add a first comment with text or a photo.

  3. 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.

Facebook endpoints on one REST API
EndpointPermissionWhat it does
POST/api/v1/postsposts:create / schedule / publishPublish or schedule Facebook Page feed posts, links, 10-photo albums, Reels and Stories.
DELETE/api/v1/posts/{id}posts:deleteCancel a scheduled post or delete a published Facebook Page post remotely.
GET/api/v1/commentscomments:readList Facebook Page comments synced on schedule, via live push or via POST /comments/sync.
POST/api/v1/commentscomments:createReply to a Facebook comment as the Page, optionally attaching one photo or GIF.
PATCH/api/v1/comments/{id}/hidecomments:updateHide a Facebook comment or pass hidden: false to make it visible again.
GET/api/v1/analytics/posts/{id}analytics:readRead impressions, likes, comments, shares, clicks and reach for a Page post.

Read the full Facebook reference

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.

Facebook media and text limits
TypeFormatsLimitNotes
Feed postText, link, photos or videoUp to 10 photos or 1 videoPhotos and video cannot be mixed in one Facebook post. Feed videos go up to 500 MB.
Feed photoJPG, PNG, GIF, WebPUp to 10 MB eachUp to 10 photos per feed album; links apply only when the post has no media.
Facebook ReelMP4, MOV, WebM1 video · 3s–90s · 100 MBAuto re-encoded to MP4 when below 540 × 960, outside 24–60 fps or over 25 Mbps.
Facebook StoryPhoto or video1 file · 3s–60s video · 100 MBPost text is not shown on Stories; requires one photo or one video.
Text & coverPlain text · thumbnail image2,200 charactersLonger text is trimmed at publish time. Set video cover via cover_image.thumbnail.

Platform behavior

Facebook at a glance

platform key
facebook
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_delay minutes.
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_type without 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 /posts request — 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.

Facebook accounts[].settings keys
Setting keyValueWhat it controls
post_type"POST" | "REELS" | "STORIES"Selects Page feed post (default), Facebook Reel (one video) or Page Story (one photo or video).
titlestring (cut at 2,200 chars)Facebook-specific text overriding the shared post text.
linkstring (URL)Attaches a clickable link preview card to a Facebook feed post without media.
medianumber[]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.

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 normalizes author_name to Facebook user so your UI never breaks on null strings.

Deleting a post via DELETE /posts/{id} requests remote deletion on Facebook, and GET /analytics/posts/{id} returns impressions, likes, comments, shares, clicks and reach for every Page post.

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/mcp

Cross-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.

Limits by plan
PlanSocial accountsPostsAPI posts a day, per network
Free220 a monthWithin the 20
Starter$29 a month10UnlimitedUnlimited
Pro$49 a month30UnlimitedUnlimited
Agency$99 a month100, then $1/mo eachUnlimitedUnlimited

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.

Compare plans and prices

FAQ

Facebook API questions

Need help with a specific endpoint or webhook? Ask us in live chat.

Chat with us

Does 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