Post to Facebook from one API

Post text, links, photo albums, videos, Reels and Stories to the Facebook Pages you manage. Each Page connects as its own channel, and its comments arrive in the shared inbox.

Posts go to Facebook Pages you manage. Personal profiles cannot be posted to through the API.

What works on Facebook

  • Publish now
  • Schedule and queue
  • Post analytics
  • Comments in the inbox
  • Direct messages
  • First comment
  • Public data scraping
  • Video downloads

What you can publish

Text length
63,206 characters
Images per post
Up to 10
Videos per post
Up to 1
Images and videos together
One kind per post
Video length
Up to 4 hours
Video file size
Up to 4 GB
Image file size
Up to 10 MB
Media
Optional
Long text
Sent as one post

Preflight checks these limits for every target before publishing and returns clear errors and warnings.

How you connect

Sign in with Facebook and approve access. Postkea stores the tokens encrypted and refreshes them for you. On Pro and Business you can use your own OAuth app.

Options for Facebook

Pass these in platformSpecificData on the Facebook entry of a post. Everything else, like text, media, first comment and scheduling, works the same on every network.

  • contentType
  • title
  • link
  • placeId
  • published
  • isAiGenerated

Example request

curl -X POST "https://postkea.com/api/v1/posts" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "content": "Our spring pottery workshop opens for booking today.",
  "platforms": [
    {
      "accountId": "acc_face_8f2k",
      "platformSpecificData": {
        "contentType": "reel"
      }
    }
  ],
  "mediaItems": [
    {
      "type": "video",
      "url": "https://cdn.example.com/kiln-day.mp4"
    }
  ],
  "scheduledFor": "2026-11-03T09:00",
  "timezone": "Europe/Berlin"
}'

Read public Facebook data

5 operations for public Facebook content. Each returns clean JSON and costs credits only when it succeeds.

OperationEndpoint
Facebook post or video detailsText, reactions (with breakdown), comments, shares, views, media URLs and author of a public Facebook post, video or reel.POST /v1/scrape/facebook/stats
Facebook video transcriptTimestamped transcript of a public Facebook video or reel from its captions, or from speech to text when it has none.POST /v1/scrape/facebook/transcript
Facebook video summarySummary, key points, topics, takeaways and sentiment of a public Facebook video or reel (falls back to the post text when there is no speech).POST /v1/scrape/facebook/summarize
Facebook commentsTop comments of a public Facebook post, video or reel that Facebook shows to logged-out visitors (usually up to 10), with the total count.POST /v1/scrape/facebook/comments
Facebook page detailsName, category, bio, followers, following, website, email, avatar, cover and verification of a public Facebook page or profile.POST /v1/scrape/facebook/page

Facebook questions

Can I schedule Facebook posts with the API?

Yes. Send a post with scheduledFor and a timezone, or addToQueue to use the next free slot of the account. You can also schedule from the dashboard calendar or let an AI agent do it through the MCP server.

What are the Facebook limits?

Posts can have up to 63,206 characters. Postkea checks text length, media count, file size, duration and aspect ratio before publishing, so you get a clear error instead of a failed post.

What happens if a Facebook post fails?

The post gets a result per network. Failed networks cost no credits, the error says what went wrong, and you can retry them with one call to POST /v1/posts/{id}/retry or one click in the dashboard.

Can I get data from public Facebook posts?

Yes. Use the Facebook scraping operations for details, comments, profiles and more, or POST /v1/scrape/auto with any Facebook link.

Other platforms

Connect your first channels

Free includes 3 channels and 200 credits a month.