Zernio
APIFor you
Zernio
APIFor you
API Reference

Account Settings

Facebook Messenger

Get persistent menuGETSet persistent menuPUTDelete persistent menuDELETE

Instagram

Get IG ice breakersGETSet IG ice breakersPUTDelete IG ice breakersDELETE

Telegram

Get TG bot commandsGETSet TG bot commandsPUTDelete TG bot commandsDELETE

Other

Delete FB Get Started buttonDELETEDelete FB greeting textDELETEDelete FB ice breakersDELETEGet a Facebook Page's public infoGETGet FB Get Started buttonGETGet FB greeting textGETGet FB ice breakersGETSet FB Get Started buttonPUTSet FB greeting textPUTSet FB ice breakersPUTUpdate a Facebook Page's public infoPATCH
Dashboard
OverviewPlatformsAPI ReferenceResources
Account Settings

Get a Facebook Page's public info

Returns the public info of the Page selected on a facebook account: about, description, website, phone, emails and opening hours, as Meta returns them from the Page node. Text fields the Page never filled come back as null.


GET
/v1/accounts/{accountId}/facebook-page-info

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

accountId*string

The ID of a connected Facebook account.

Response 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.getFacebookPageInfo({  path: {    accountId: 'account_abc123',  },});console.log(data);
{  "about": "string",  "description": "string",  "website": "string",  "phone": "string",  "emails": [    "string"  ],  "hours": {    "property1": "string",    "property2": "string"  }}
Was this page helpful?

Delete FB ice breakers

Remove the ice breakers from every locale.

Get FB Get Started button

Get the Get Started button payload for a Facebook Messenger account. `data` is null when the page has none.