Networks

Facebook Page posting API

Facebook Pages: open today. Siar, a unified social media API, publishes and schedules posts, reels and stories on Facebook Pages with one REST request: list FACEBOOK in socialAccountTypes and put the Facebook payload under data.FACEBOOK. Add other networks to the same request to post to all of them at once.

Status checked 12 November 2026 against Siar's approval records. Each network's status, and Facebook's approval record.

How to post to Facebook via API

Send POST /post with your API key in x-api-key. Set type to POST, REEL or STORY. A link makes a link post on the Page. A request that breaks one of Facebook's rules gets a 400 with an issues entry before anything is sent.

Example request
curl -X POST "https://api.siaran.my/api/v1/post" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "title": "Facebook post",
    "postDate": "2026-11-20T09:00:00.000Z",
    "status": "SCHEDULED",
    "socialAccountTypes": [
      "FACEBOOK"
    ],
    "data": {
      "FACEBOOK": {
        "type": "POST",
        "text": "Our autumn opening hours start on Monday.",
        "link": "https://example.com/hours"
      }
    }
  }'
Example response (200)
{
  "id": "POST_ID",
  "teamId": "TEAM_ID",
  "organizationId": "ORGANIZATION_ID",
  "title": "Facebook post",
  "referenceKey": null,
  "postDate": "2026-11-20T09:00:00.000Z",
  "postedDate": null,
  "status": "SCHEDULED",
  "data": {
    "FACEBOOK": {
      "type": "POST",
      "text": "Our autumn opening hours start on Monday.",
      "link": "https://example.com/hours"
    }
  },
  "error": null,
  "errors": null,
  "errorsVerbose": null,
  "externalData": null,
  "retryCount": 0,
  "createdAt": "2026-11-12T08:00:00.000Z",
  "updatedAt": "2026-11-12T08:00:00.000Z",
  "deletedAt": null,
  "firstComment": null
}

The post is stored as SCHEDULED. At postDate Siar publishes it, and a signed post.published webhook reports the result when the post reaches a final state. Read it any time with GET /post/{id}.

Facebook fields

  • type string default "POST"
    One of: POST REEL STORY
  • text string nullable
  • uploadIds string[] nullable
  • mediaItems object[] nullable
    2 fields
    • uploadId string required
    • altText string nullable
  • link string nullable
  • thumbnail string nullable
  • mediaTitle string nullable
  • nativeScheduleTime string nullable date-time
  • textFormatPresetId string nullable

What Siar can do on Facebook

Comments and repliesYes
First commentYes
Edit a published postYes
Delete a published postYes
Edit a commentYes
Delete a commentYes
Import commentsYes
Post analyticsYes
Account analyticsYes
Post history importYes
Direct messagesYes

Siar can create comments and replies up to 8,000 characters, and import the comments people leave on your posts.

Facebook API limits

Facebook does not publish one rate-limit figure for this kind of posting that could be checked for this page.

Siar's daily caps

Per connected account, per UTC dayFreeStarter and ProBusiness
Posts1050100
Comments350100

Monthly post quotas are on pricing. Enterprise uses the Business caps unless agreed otherwise.

Text and media rules Siar checks before sending

ConnectionOAuth 2.0 in the browser
ChannelRequired: pick a channel after connecting
Post typespost, reel, story
Text length63,206 characters
Comment length8,000 characters
Media per postUp to 10

Media rules

KindFormatsMax sizeDurationOther
Imagejpeg, png, gif, bmp, tiff, webp10 MBn/aNone
Videomp4, mov1 GBUp to 20 minNone

Facebook API scopes

Siar sends the user to the network's consent page and stores the tokens it gets back, refreshing them before they expire. Use POST /social-account/connect from your own UI, or send your customer a hosted link from POST /social-account/create-portal-link; see connecting accounts.

Siar requests only these scopes at connect time:

  • public_profile
  • pages_show_list
  • pages_read_engagement
  • pages_read_user_content
  • pages_manage_posts
  • pages_manage_engagement
  • pages_manage_metadata
  • read_insights
  • business_management
  • pages_messaging

Siar's Meta app passed App Review on 27 October 2026, with all 27 permissions it asked for. Your customers connect through Siar's app, so they file nothing with Meta: Meta App Review: our dates and lessons.

Facebook-specific operations

These exist for Facebook only and live under /misc/facebook.

OperationEndpoint
Search Facebook PagesGET /misc/facebook/pages
List Facebook text background presetsGET /misc/facebook/text-format-presets
Get Facebook token debug detailsGET /misc/facebook/token-debug
Start a new Facebook recommendations importPOST /misc/facebook/recommendations/import
Get Facebook recommendations import status listGET /misc/facebook/recommendations/import
Get Facebook recommendations import by IDGET /misc/facebook/recommendations/import/{importId}
List imported Facebook recommendationsGET /misc/facebook/recommendations
Get a single imported Facebook recommendationGET /misc/facebook/recommendations/{recommendationId}
Get recommendation thread commentsGET /misc/facebook/recommendations/{recommendationId}/comments
Reply to a Facebook recommendationPUT /misc/facebook/recommendations/{recommendationId}/reply
Reply to a Facebook recommendation thread commentPUT /misc/facebook/recommendations/{recommendationId}/comments/{commentId}/reply
Edit an existing Facebook postPATCH /misc/facebook/post
Delete a Facebook postDELETE /misc/facebook/post
Edit a Facebook commentPATCH /misc/facebook/comment
Delete a Facebook commentDELETE /misc/facebook/comment

Facebook MCP

TypeScript SDK, CLI and MCP server (version 0.1.0), built from the same OpenAPI contract. Not on npm yet. The MCP server exposes the same operations as the REST API, so an agent can post to Facebook through it with the same payload as above. Because it is not on npm yet, there is no install command to copy; the SDK, CLI and MCP page says what exists today.

Facebook API error codes

When Facebook says no, Siar keeps Facebook's own code and message on the post, word for word, with a plain-English fix and a retry verdict. The reference covers 12 Facebook errors. Facebook API error codes and how to fix them.

Facebook API guides

Facebook API questions

What can I post to Facebook through the API?

post, reel, story. Posts, reels and stories on Facebook Pages, including link posts and Page recommendations.

How many Facebook posts can I publish per day?

Siar caps posts per connected account and UTC day: 10 on Free, 50 on Starter and Pro, 100 on Business.

Can I schedule Facebook posts?

Yes. Set postDate in the future and a status of SCHEDULED. Siar publishes at that time and sends a signed post.published webhook when the post reaches a final state.

How do I connect a Facebook account?

A Facebook Page you manage. Personal profiles cannot be published to through the API. Siar sends the user to the network's consent page and stores the tokens it gets back, refreshing them before they expire.

What happens when Facebook rejects a post?

The post keeps Facebook's own code and message, with a fix. The Facebook API error codes and how to fix them page explains 12 common rejections and what to do.

Building on more than Facebook? Siar publishes to Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack today. See the social media posting API and the social media scheduling API.

Other networks

TikTok API · YouTube API · Instagram API · X (Twitter) API · Threads API · LinkedIn API · Pinterest API · Reddit API · Mastodon API · Discord API · Slack API · Bluesky API · Google Business Profile API · Snapchat API

Your first post is one request away.

Start with 20 free posts to try. No card. A one-time allowance, with no time limit.