One API Call to Post on Facebook

The Facebook Graph API requires app review, complex permission scopes, and Page-based publishing workflows with nested API calls. RelayAPI handles OAuth, rate limits, media hosting, and API changes.

No credit card required · Free plan available

POST /v1/posts
const res = await fetch("https:">//api.relayapi.dev/v1/posts", {
  method: "POST",
  headers: {
    Authorization: "Bearer rlay_live_xxxx",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    content: "Check out our latest update!",
    platforms: ["facebook"],
    media: ["https:">//cdn.example.com/image.jpg"],
  }),
});

Facebook Graph API

  • Facebook App Review requires detailed permission justifications, screencasts, and can take weeks of back-and-forth
  • Page publishing requires Page access tokens that are separate from user tokens, with their own refresh lifecycle
  • Multi-photo posts, videos, and Reels each use different endpoints with different payload formats
  • Rate limiting is opaque -- limits are per-app, per-user, and per-Page with no clear documentation on thresholds
  • Graph API version deprecation happens on a fixed schedule, and breaking changes require regular migration effort

RelayAPI

  • RelayAPI manages the app review process and maintains all required permissions so you never deal with Meta review
  • We handle Page token management, user-to-Page token exchange, and automatic token refresh behind the scenes
  • Unified post endpoint works for text, photos, videos, and Reels -- we route to the correct Graph API endpoint
  • Built-in rate limit tracking across app, user, and Page scopes with automatic queuing and backoff
  • We migrate between Graph API versions automatically and absorb breaking changes in our integration layer
Save 3+ hours of development time

Facebook Page Required

Publishing via the Facebook Graph API requires a Facebook Page. Personal profile posting is not supported through the API. You must be an admin or editor of the Page.

Supported content types

Text PostsPhotosVideosReelsStoriesLinks

How it works

1

Connect your account

Authorize your Facebook account via OAuth in about 30 seconds.

2

Build your integration

Use the REST API or our SDKs to publish content from your stack.

3

We handle the rest

RelayAPI manages publishing, rate limits, and delivery notifications.

Ship Faster

Publish to Facebook Pages with a single API call. No app review, no Page token management, no endpoint routing by content type. Send your content and we handle everything.

Official API, Zero Hassle

RelayAPI uses the official Facebook Graph API. Your posts appear natively in feeds with full engagement features, while we handle app review, token management, and version migrations.

All Content Types, One Endpoint

Facebook uses different API endpoints for text, photos, videos, Reels, and Stories. RelayAPI provides a single unified endpoint that automatically routes to the correct Graph API surface based on your content.

Frequently asked questions

Can I post to personal Facebook profiles?

No. The Facebook Graph API only supports publishing to Pages, not personal profiles. You need a Facebook Page where you are an admin or editor to publish content through the API.

What content types can I publish to Facebook through RelayAPI?

RelayAPI supports text posts, single and multi-photo posts, videos, Reels, Stories, and link posts with rich previews. All content types are available through one unified endpoint.

How does RelayAPI compare to using the Graph API directly?

The Graph API requires app review (weeks), separate Page tokens, different endpoints per content type, manual version migrations, and complex permission scopes. RelayAPI replaces all of this with a single authenticated POST request.

Can I schedule Facebook posts with RelayAPI?

Yes. You can pass a scheduled publish time with your request. RelayAPI uses Facebook's native scheduling where available, or manages the scheduling queue and publishes at the specified time.

Start building with Facebook.

Join developers who chose RelayAPI over wiring up Facebook Graph API by hand.