Skip to content

Facebook list Pages API: GET /me/accounts

When PubNio calls Facebook's list Pages request, GET /me/accounts: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision.

PubNio calls Facebook’s GET /me/accounts (User.accounts) to list the Pages a person can publish to.

How PubNio calls it

  • Connecting an account: after the sign-in that POST /api/v1/integrations/{provider}/connect or POST /api/v1/integrations/accounts/{accountId}/reconnect starts, the sign-in callback makes this call before it saves the account.
  • PubNio pages through me/accounts 100 at a time and stops on a repeated cursor. The Instagram connector over Facebook Login asks for each Page’s instagram_business_account too.
  • The edge name comes from PubNio’s generated Meta User operations, so a renamed edge in the pinned spec breaks the build.

Scopes

Errors

No error page names this call; see Facebook error codes.

Spec and changes

User.accounts in the pinned spec, revision 5c1fa8a1653722b402133f033fcc321d67981bbd.

Refreshed by hand: no weekly change record.

Limits

  • A Page listed without a Page token is counted and skipped, not connected.

Sources

Type to search…

↑↓ navigate↵ selectEsc close