List Facebook pages
Changed onLists the Facebook Pages a user can pick from after signing in, so they can choose which Page to connect.
Classic connections require profileId and tempToken from the OAuth redirect. Use X-Connect-Token for headless connections. The dashboard business-login picker instead sends only selectionToken, an encrypted grant valid for ten minutes. This requires the initiating user and current profile access and returns only Page IDs and names. X-Connect-Token cannot authorize business selection.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/connect/facebook/select-page
- Auth: one of:
- HTTP bearer
- API key in header X-Connect-Token
Query parameters
Profile ID from your classic connection flow. Required with tempToken.
Temporary Facebook access token from the classic OAuth callback. Required with profileId unless sent in the X-Temp-Token header.
Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
Encrypted dashboard business-login grant. Send alone instead of profileId and tempToken. Expires after ten minutes.
Headers
The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
Response
List of Facebook Pages available for connection
Changes
- info
added the new optional
headerrequest parameterX-Temp-Token - info
added the new optional
queryrequest parameterconnectFlow - info
added the non-success response with the status
- info
- info
added the optional property
to the response with the status
- info