"Facebook API" means Meta's Graph API at graph.facebook.com. The Pages API, Marketing API and Messenger Platform are endpoint groups on top of it. Current version: v27.0.
Publishing covers Facebook Pages only. Personal profiles are not a target for third-party apps.
Create an app in the Meta App Dashboard. Settings > Basic gives you an App ID (public) and an App Secret (server only).
Facebook Login gives a user token. GET /me/accounts returns each Page ID with its Page token. Built from a long-lived user token, the Page token has no expiration date.
Standard Access only works for people with a role on your app. Customers outside those roles need Advanced Access: App Review per permission plus Business Verification.
POST /PAGE_ID/feed with message, link and the Page token. Photos go to /PAGE_ID/photos. Permissions include pages_manage_posts and pages_show_list.
Send published false with scheduled_publish_time. The time must be 10 minutes to 30 days after the request, so long calendars need your own queue.
App tokens: 200 calls per hour times daily active users. Page tokens: Business Use Case limits. Throttle codes to handle: 4, 17, 32 and 613.
Each Graph API version lasts at least two years. v21.0 stops working on January 21, 2027. Always put the version in the URL.
Token table, App Review checklist, version dates, curl examples and when a posting layer saves you the work.
postgate.studio