Facebook API

Facebook's Graph API requires app review, Page tokens, separate permissions per feature, and complex media upload flows. Zernio gives you one POST for Pages and Groups with photos, videos, and links.

  • Free tier
  • No credit card
  • 99.97% uptime
Rowan & FoxPage

Swim shorts are back for summer. Which colour are you taking to the beach?

LikeCommentShare
Thursday 61:00 PMScheduled

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
MoFlo
ClickUp
Readdy
RE/MAX
Moving Monkey®
How it works

Live in three steps, no Facebook app review

1

Profile

default

Facebook

Connect Facebook

Sign up for free, get your API key and connect Facebook accounts through our OAuth flow.

2

POST /v1/posts

const { data } = await zernio.posts.createPost({
  body: {
    content: 'Launch day! 🚀',
    mediaItems: [{ url: 'https://cdn.acme.com/launch.jpg' }],
    platforms: [
      { platform: 'facebook', accountId: 'acc_8f2a' },
    ],
    scheduledFor: '2027-01-15T14:30:00',
    timezone: 'Europe/Madrid',
  },
});

Make one call

Send content to Facebook from one REST endpoint, right away or scheduled.

3

post.failed

Webhook sent to your app

Failed

Mon, 18 Jan

09:00, Europe/Madrid

Scheduled

Launch day! 🚀

Fri, 15 Jan at 14:30

Published

Track every post

Follow each post from scheduled to published, with a webhook when one fails.

Endpoints

Facebook endpoints on one REST API

EndpointWhat it does
POST/v1/postsCreate or schedule a Facebook post (text, photo, video, or link)
GET/v1/posts/{id}Get status and details of a Facebook post
DELETE/v1/posts/{id}Cancel a scheduled Facebook post
GET/v1/profilesList all connected Facebook Pages and profiles
Media specs

What you can upload to Facebook

Zernio transcodes and optimizes media for Facebook's requirements automatically.

facebook/media-specs
TypeFormatMax sizeNotes
ImageJPEG, PNG, GIF, BMP4 MB1200x630 recommended
VideoMP4, MOV10 GBUp to 240 min duration
CarouselJPEG, PNGUp to 10 imagesSquare or landscape
LinkURLN/AAuto-fetches preview
Capabilities

Everything the API handles for you

Facebook's Graph API has rate limits based on your app's usage tier. Zernio manages rate limits automatically and retries failed requests.

Scheduling

Schedule posts for your best engagement times.

Rich media

Publish photos, videos, and carousels.

Multi-page

Manage every Page you connect from one API key.

Status webhooks

Get notified the moment a post publishes or fails.

Link previews

Link posts render with rich previews.

Audience targeting

Set target audience settings per post.

Pages and Groups

Post to Facebook Pages and Groups from one endpoint.

Response

What comes back from every call

Plain JSON back from every Facebook call, with the IDs and statuses your app needs to follow up.

cURL

$

{
  "post": {
    "_id": "65f1c0a9e2b5af0012ab34cd",
    "status": "published",
    "content": "Check out our latest product update! 🎉",
    "platforms": [{
      "platform": "facebook",
      "accountId": { "_id": "acc_abc123", "username": "YourPage" },
      "status": "published",
      "platformPostId": "123456789012345_987654321098765",
      "platformPostUrl": "https://facebook.com/123456789012345/posts/987654321098765"
    }],
    "publishedAt": "2025-01-10T10:30:00Z"
  },
  "message": "Post published successfully"
}

Start building with the Facebook API

Free tier available. No credit card required.

  • Free tier
  • No credit card
  • 99.97% uptime