Facebook Graph API: How to Post to a Page (2026)
You post to Facebook through the Graph API as a Page. One call does it: POST /{page-id}/feed with a message and a Page access token. Meta lists no fee for it.
The cost is access. Your app needs pages_manage_posts, pages_read_engagement and pages_show_list. To use them for anyone outside your own team, each permission needs App Review and Advanced Access, and Advanced Access requires Business Verification.
This page covers access, tokens, the endpoints for text, photos, video and Reels, the rate limits, and the errors we see posting to Facebook Pages for Socialync users. Meta's facts come from its Pages API and Graph API documentation, checked on 27 November 2026. Meta's examples now use Graph API v27.0. Every page we used is listed in the sources at the end.
What the Facebook Graph API costs
Meta's Pages API overview, the posts guide and the feed reference list no fee. The overview says only that "All Pages endpoint requests are subject to Rate Limiting."
What you pay in is work and waiting:
- A Facebook Login flow that returns Page tokens.
- App Review for each permission, and Business Verification.
- Public hosting for images, or an upload flow for video.
- Meeting the rate limits and the Reels limit.
For a sense of the review timeline, a recent Meta App Review of ours took 15 days, from submission on 2 September 2026 to approval on 17 September. It covered two Facebook Page analytics permissions and was approved on the first attempt.
Who you can post to
Pages. The Pages API publishes content as a Page, and the person connecting has to be able to perform the CREATE_CONTENT task on it. The Meta pages we checked document no way for an app to publish to a personal profile.
The getting started guide says the Page can be "an unpublished or published Page," which makes testing easy.
Page tasks are ADVERTISE, ANALYZE, CREATE_CONTENT, MANAGE, MANAGE_LEADS, MESSAGING, MODERATE and VIEW_MONETIZATION_INSIGHTS. A Page admin can perform all of them.
Permissions and App Review
The feed reference lists three permissions for publishing as a Page:
| Permission | What it allows | Depends on |
|---|---|---|
pages_manage_posts |
Create, edit and delete your Page posts | pages_read_engagement, pages_show_list |
pages_read_engagement |
Read content posted by the Page | pages_show_list |
pages_show_list |
List the Pages a person manages | Nothing |
Other Meta guides add more to the list. The posts guide also names pages_manage_engagement, pages_read_user_engagement and publish_video for video. Request what your features use, because each one goes through review.
Standard Access and Advanced Access
Meta's access levels page defines two levels:
- Standard Access: permissions "can only be requested from app users who have a role on the requesting app." Business apps get it automatically for every permission.
- Advanced Access: permissions "can be requested from any app user." Each permission is approved one by one through App Review, and "Business Verification is required to get Advanced Access."
The Pages overview adds that Business apps have no app modes, so permissions "must be approved for Advanced access" before someone without a role on the app, or on a Business that claimed it, can grant them.
For pages_manage_posts, the permissions reference asks you to "Provide specific examples of why your app needs to create or manage posts on behalf of other users for the pages they own." Your submission has to show that use.
Page access tokens
Most Pages endpoints want a Page access token. The flow:
- The person signs in with Facebook Login and grants your permissions. You get a user access token.
- Exchange it for a long lived user token. Meta says these generally last about 60 days.
- Call
GET /{user-id}/accountswith the long lived user token. Each Page in the response carries its own Page access token.
Meta's long lived token guide says a Page token from a long lived user token has no expiration date, and that these tokens "only expire or are invalidated under certain conditions." Plan for invalidation anyway.
How posting works on the Facebook Graph API
Text and links
POST /{page-id}/feed with message, link or both. One of the two is required. The response is {"id": "page_post_id"}.
To schedule, set published to false and pass scheduled_publish_time. The two Meta pages disagree on the window. The posts guide says between 10 minutes and 30 days from the request. The feed reference says between 10 minutes and 75 days. Test the window you need before you rely on it.
A link post can carry a link carousel through child_attachments, with 2 to 5 items. With multi_share_optimized set to true you can send up to 10, and Facebook shows the top 5.
Photos
POST /{page-id}/photos with a url. The response has the photo id and the post_id.
For a post with several photos, Socialync uploads each photo to /photos with published set to false, then creates one /feed post that lists them as attached_media[0], attached_media[1] and so on, each with a media_fbid. That flow is what we run in production. The posts guide we checked today does not cover it.
Video
The video publishing guide uses the Resumable Upload API:
POST /{app-id}/uploadswithfile_name,file_lengthandfile_type. You get back anupload:<id>session.POST /upload:<id>with the headerfile_offset: 0and the file as binary. You get back a file handle,h. If the upload breaks, a GET on the same session returns the offset to resume from.POST https://graph-video.facebook.com/{page-id}/videoswith the Page token,title,descriptionandfbuploader_video_file_chunkset to the handle. The response holds the video ID.
Reels
The Reels publishing guide is a separate flow on POST /{page-id}/video_reels:
Post to all your platforms in one click
Socialync lets you cross-post to TikTok, Instagram, YouTube, X, Facebook, LinkedIn, Threads, Bluesky, and Pinterest, with AI-powered captions for each platform. Free to start.
- Call it with
upload_phase=startto get avideo_idand an upload URL. - Send the file to
rupload.facebook.com/video-upload/{video-id}, or pass afile_urlheader for a hosted file. - Call it again with
upload_phase=finish, thevideo_id, andvideo_stateset toDRAFT,SCHEDULEDorPUBLISHED.
Reels must be 3 to 90 seconds at 9:16, 1080 by 1920 recommended and 540 by 960 at least, 24 to 60 frames per second, H.264 or H.265 with AAC audio.
Editing and deleting
POST /{post-id} updates a post, and only posts your app created. DELETE /{post-id} removes one.
Facebook Graph API limits
| Limit | Value |
|---|---|
| Pages calls with a Page token | 4,800 times the number of engaged users, per 24 hours |
| Calls with a user or app token | 200 times the number of users, per hour, per app |
| Reels published through the API | 30 per Page in a 24 hour moving period |
| Scheduling window | 10 minutes to 30 days (posts guide) or 75 days (feed reference) |
| Link carousel items | 2 to 5 |
From Meta's rate limiting page: engaged users are the people who engaged with the Page in a 24 hour period. Responses carry X-Business-Use-Case-Usage, which includes estimated_time_to_regain_access in minutes, and X-App-Usage. Throttling comes back as code 4, 17, 32, 613 or 80001.
The feed reference gives no character limit for message. Socialync caps a Facebook post at 63,206 characters.
What breaks when you post to a Facebook Page
Rate limits that look like dead tokens
Some throttling errors carry the OAuthException type, the same type as a revoked token. If your code sends every OAuthException to "please reconnect," users reconnect a healthy account and the post still fails. Check the code first: 4, 17, 32, 613 and 80001 mean wait, and 190 means the token is gone.
Error 368
Meta's error handling guide lists 368 as "Temporarily blocked for policies violations" and says to wait and retry. On Page publishes, we have seen 368, and subcode 1390003, arrive when Facebook wanted the Page admin to confirm their identity in the Facebook app first. We do not retry it. We stop and tell the user to open the Facebook app on their phone and follow the steps there.
Video error 6000
Video uploads by URL failed with error 6000 for us on Graph API v22.0. Socialync pins v20.0 for video calls and retries 6000 a few times with a growing wait. Everything else runs on v22.0.
Big videos in one shot
Single request uploads of large files hit 413 Request Entity Too Large. We switch to the resumable upload above 20 MB and send 20 MB chunks.
How you read the file matters too. Our first version downloaded the whole video before sending the first chunk. On 9 July 2026, around 185 MB videos ran out of time during that download, and Facebook kept a zero byte upload session that said "uploading" forever and never published. We now stream the file and send each chunk as soon as it arrives.
Image formats
The /photos endpoint turned down WebP, AVIF and HEIC with "Missing or invalid image file" on every retry. We convert those to JPEG before sending.
Other codes worth handling
- 506: duplicate post. Identical posts cannot go out back to back.
- 1609005: Facebook could not scrape the link.
- 190 with subcode 492: the person behind the Page token lacks a suitable role on the Page.
- Reel permalinks:
permalink_urlcomes back relative for Reels, like/reel/123/. Addhttps://www.facebook.comin front before you show it.
Build against Facebook directly, or not
A script for your own Page is quick on Standard Access: a Business app, Graph API Explorer for a token, one call to /feed.
A product for other people adds App Review for each permission, Business Verification, a Login flow, Page selection, two upload flows for video, a Reels limit, version pinning, and error handling that tells a rate limit from a dead token.
If Facebook is one platform of several, the work repeats elsewhere. How to schedule Facebook posts covers the no code route, and apps for posting to Instagram and Facebook at once covers cross posting. We wrote the same kind of guide for Instagram, Threads, Pinterest, Bluesky and LinkedIn.
Posting to Facebook through Socialync
Socialync connects the Facebook Pages you manage and posts text, links, photos, posts of up to 10 photos, video and photo Stories. A Page is required to connect. Facebook is on the free plan, which gives you 3 posts a month with no card. Paid plans start at $20 a month for 5 connected accounts.
You can also drive it from an AI assistant. Socialync runs an MCP server at https://mcp.socialync.io/mcp, included on every plan. Text and image posts to Facebook publish immediately from an assistant, and video goes through scheduled posts. Every post needs your approval in chat before it goes out. See the MCP server page and the recipes.
You can also call Socialync from code. The Socialync API publishes, schedules and drafts posts with one API key, and it is included on every plan. Add facebook to the platforms list of a post, and set scheduledAt for video. The same API ships as the socialync package on npm. A draft holds a post until a person approves it.
Facebook Graph API FAQ
Is the Facebook Graph API free for posting to a Page?
Meta's Pages API documentation lists no fee. You pay in setup work, App Review for each permission, and Business Verification for Advanced Access.
What permissions do I need to post to a Facebook Page?
pages_manage_posts, pages_read_engagement and pages_show_list, with a Page access token from someone who can perform the CREATE_CONTENT task on the Page.
Can I post to a personal Facebook profile through the API?
The Pages API publishes as a Page, and the Meta documentation we checked describes no way for an app to publish to a personal profile. Socialync posts to Pages.
How far ahead can I schedule a Facebook Page post through the API?
At least 10 minutes ahead. Meta's posts guide says up to 30 days and its feed reference says up to 75 days, so test before relying on the longer window.
What are the Facebook Graph API rate limits for Pages?
Calls made with a Page token are limited to 4,800 times the number of engaged users in 24 hours. Reels have their own limit of 30 API published Reels per Page in 24 hours.
Can an AI assistant post to a Facebook Page?
Yes. Socialync's MCP server posts text and images to Facebook Pages from Claude, ChatGPT and other MCP clients, and schedules video. You approve every post in chat before it goes out.
Sources checked on 27 November 2026
- Meta, Pages API overview, checked 27 November 2026
- Meta, Pages API: Getting started, checked 27 November 2026
- Meta, Pages API: Posts, checked 27 November 2026
- Meta, Graph API reference: Page feed, checked 27 November 2026
- Meta, Permissions reference, checked 27 November 2026
- Meta, Access levels, checked 27 November 2026
- Meta, Get long lived tokens, checked 27 November 2026
- Meta, Video API: Publishing, checked 27 November 2026
- Meta, Video API: Reels publishing, checked 27 November 2026
- Meta, Rate limiting, checked 27 November 2026
- Meta, Handle errors, checked 27 November 2026
