Select Facebook page
Changed onConnects the Facebook Page the user picked after signing in, completing the Facebook or Meta Ads connection.
Complete a classic Facebook Page connection with profileId, pageId, tempToken and userProfile. Use X-Connect-Token for headless connections. The dashboard business-login picker instead sends only selectionToken and pageId to complete a Meta Ads connection. The server verifies the initiating user, profile access, current grants and connection eligibility. The profile, platform token, ad-account scope and return URL come only from the encrypted grant. Business selection requires a session or bearer authentication for the initiating user; X-Connect-Token is not accepted. It returns redirect_url with connected=metaads on success or an eligibility error redirect.
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
Request body
Example request
{
"selectionToken": "ENCRYPTED_SELECTION_TOKEN"
}Response
Facebook Page connected or business-login redirect returned.
Changes
- info
added the new optional request property
/ - info
the request property
/became optional - info
added the non-success response with the status
- info
- warning
added the new
accountenum value to the/response property for the response status - warning
added the new
accountenum value to the/response property for the response status - warning
added the new
accountenum value to the/response property for the response status
- warning