Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Most Page calls need a Page access token, obtained by exchanging a user token; the Pages a user manages come from user.accounts.
- Reading Page content and publishing need Meta App Review for the pages_* permissions.
- Lists page with paging.cursors.after; follow paging.next when present.
- Rate limits are per Page: error 80001 means too many calls, wait and retry.
Endpoints
Get a Page
- Fields that can carry user data need a Page access token; the instagram_business_account field needs a user token.
List a Page’s posts
- Needs a Page access token and pages_read_engagement plus pages_read_user_content.
- Returns roughly 600 published, ranked posts a year; expired posts are gone. Reels come from the VideoReels edge.