← All integrations
Facebook Page
Not connectedMedium
Publish to your company Facebook Page through the Pages API using a Page access token.
Integration steps
- Finish Meta Business Portfolio + Business Verification (done on the roadmap)· Guidance
- Create an app at developers.facebook.com → My Apps → Create App, type "Business", linked to your portfolio· Official docs
- Add Facebook Login for Business and set the redirect URL to https://poster.tmjtechnologies.ae/api/oauth/facebook/callback· Guidance
- Request the permissions pages_show_list, pages_manage_posts, pages_read_engagement, pages_manage_metadata· Official docs
- Log in as a Page admin, exchange the user token for a long-lived one, then call GET /me/accounts to get the Page access token· Official docs
GET https://graph.facebook.com/v25.0/me/accounts?access_token=LONG_LIVED_USER_TOKEN
- Publish with POST /{page-id}/feed (message, link) or /{page-id}/photos (url, caption)· Official docs
POST https://graph.facebook.com/v25.0/{page-id}/feed { "message": "Hello", "access_token": "PAGE_TOKEN" } - Submit App Review with a screencast of the connect + post flow to use it beyond app admins/testers· Official docs
Sources
- Meta — Pages API: get startedofficial
- Meta — Pages API: postsofficial
