OverviewProductsPlatformsAPI ReferenceResources
Account Settings

Update a Facebook Page's public info

PATCHhttps://zernio.com/api/v1/accounts/{accountId}/facebook-page-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.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

accountIdstringRequired

The ID of a connected Facebook account.

Body

application/json
Optional parameters6 fields
aboutstring, max 100

Short description, shown as Description in the Page's Edit Page Info.

descriptionstring

Longer text, shown as Additional Information.

websitestring

URL of the Page's website.

phonestring
emailsarray of string (email)

Replaces every email listed on the Page.

hoursobject

Replaces the opening hours. Keys are {day}_{slot}_{open|close} with day mon to sun and slot 1 or 2, values are 24h HH:MM times.

Responses

Success· the request worked

Errors· the request failed

PATCH/v1/accounts/{accountId}/facebook-page-info
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"  }}
OpenAPI specification
Was this page helpful?