All integrations
Meta (Facebook and Instagram)
Pages, Instagram business accounts, posts and insights via the Graph API.
Social
How an agent reaches it
MCPREST APICLI
How you authenticate
OAuth
Connection details
- Base URL
- https://graph.facebook.com/v21.0
- Pagination
- cursor
Common endpoints
| who am I | GET /me |
| list pages | GET /me/accounts |
| publish to a page | POST /{page-id}/feed |
| create IG media | POST /{ig-user-id}/media |
| publish IG media | POST /{ig-user-id}/media_publish |
Worth knowing
- Publishing needs Meta app review plus a Business account. Development mode only reaches accounts with an app role.
- Instagram publishing is two steps: create a media container, then publish it.
- Page access tokens are different from user tokens; exchange via /me/accounts.
- The API version is in the PATH and old versions are retired on a schedule.