Facebook API

The Facebook API for Page posts, photos & video

Post text, link previews, photos and video to your Facebook Pages with one request, then read and reply to comments as the Page.

Works with AI agents
What you can publish

Every Facebook format, one endpoint

The same request that posts everywhere else, with the fields Facebook needs and nothing it doesn't.

Page posts

Text, or up to 10 JPEG, PNG or GIF images, with alt text on every image.

mediaIds

Video

One MP4 or MOV video per post, on its own.

Link posts

Share a URL and Facebook builds the preview card from the page. A link post can't carry files.

link

Extra blocks

Up to 2 more blocks, published as comments under the post. Comments can't carry files.

blocks
Beyond publishing

More than a way to post to Facebook

Everything around the post (when it goes out, how it performs, where else it lands) through the same API.

Scheduling

Schedule Facebook posts to the minute

Give a post a time and Bulkit publishes it then. Queue a week, or a quarter, of Facebook content in one go, and let retries and rate limits take care of themselves.Any time zoneRetries built inRate limits handled

Analytics

Facebook analytics, in one schema

Post metrics over time: hourly on day one, then daily, then weekly up to 30 days. Same response shape as every other network, so there's nothing to reconcile.ImpressionsLikesCommentsSharesClicks

Cross-posting

Facebook and 11 more networks in one call

Add targets to the same request and one payload fans out everywhere, with each network getting the fields it needs. Upload media once and reuse it on every channel.One API keyOne schemaNo per-network fees

AI agents

Let your AI agent post to Facebook

Bulkit's MCP server gives Claude, Cursor or any MCP-compatible agent real tools to publish and schedule to Facebook: the same actions your code calls.Claude & CursorScoped API keysEvery call logged

Facebook at a glance

The Facebook API's sharp edges, filed down

Facebook limits and capabilities
SpecFacebook
FormatsText, photos, video, link preview
Post textUp to 63,206 characters
MediaUp to 10 images, or 1 video
Extra blocksUp to 2, as comments
AccountFacebook Pages
AnalyticsPost impressions, likes, comments, shares, clicks

Link previews, explained

Facebook builds the card from the page itself and doesn't add the URL to your text, so put it in content too if you want it to show.

Edit and delete after publish

Change a live post's text with POST /posts/{id}/revise, or take it down with POST /posts/{id}/retract.

Accessible media

Set mediaAltText on the block, keyed by media id, so photos posted from your code reach screen-reader users too.

Comments, as the Page

Read comments newest first and reply as the Page. Commenters Facebook hides from apps show as "Facebook user", and you can still reply.

Facebook is one of 12 channels

Add a target and the same post goes out everywhere else too: one key, one schema, no per-network fees.

FAQ

Facebook API: common questions

  • Can I post to a Facebook personal profile?

    No. Bulkit posts to Facebook Pages, not personal profiles.

  • Can I post video and link previews to a Facebook Page?

    Yes. Attach one MP4 or MOV video on its own, or set link in options for a preview card. A post with a link preview can't have files.

  • Can I edit or delete a Facebook post after it's published?

    Yes. POST /posts/{id}/revise changes the text of a live post, and POST /posts/{id}/retract deletes it from the Page.

  • What Facebook analytics are available?

    Post impressions, likes, comments, shares and clicks, read hourly on the first day, then daily for a week, then weekly up to 30 days.

  • How much does it cost?

    $4.99/month with 500 actions included, then $0.01 per action. Facebook comes with every other supported network.

Your first Facebook post is one request away

$4.99/mo with 500 actions included, then $0.01 each. Facebook and every other network on the same key.