Update a Facebook Page's public info
Updates the public info of the Page selected on a facebook account. Only the
fields in the body are sent to Meta, every other field keeps its value. Send an
empty string to clear a text field. Unknown fields are rejected with a 400.
Returns the Page info read back from Meta after the update. Meta needs the
pages_manage_metadata permission and a Page role that can edit the Page:
without them Meta's refusal comes back as platform_api_error.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
The ID of a connected Facebook account.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= propertiesResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accountsettings.updateFacebookPageInfo({ path: { accountId: 'account_abc123', }, body: { about: 'string', description: 'Hello, world!', website: 'string', },});console.log(data);{ "about": "string", "description": "string", "website": "string", "phone": "string", "emails": [ "string" ], "hours": { "property1": "string", "property2": "string" }}Set FB ice breakers
Set up to 4 ice breakers per locale for a Facebook page (Meta's `ice_breakers` Messenger Profile field). One entry must use locale `default`. A tap sends a postback with the question's `payload`, which arrives as `message.received` with `metadata.postbackPayload`; use `zernio:workflow:<workflowId>` to start a workflow (it must be active on this account and profile). Replaces every locale already set.
List groups
Returns all account groups visible to the authenticated user. Groups can contain accounts from multiple profiles. For API keys scoped to specific profiles, only groups whose accounts all live in allowed profiles are returned.