Skip to content

Connect Facebook Page

Request

Connect a Facebook page to the location

Security
X-API-KEY or Authorization
Path
idstringrequired

The uberall unique id of the location

Query
fb_access_tokenstring

A Facebook API access token with "manage_pages", "publish_actions" and "read_page_mailboxes" permissions

pageIdstring

The Facebook unique id of the page you want to connect

curl -i -X POST \
  'https://uberall.com/api/locations/{id}/facebook/page?fb_access_token=string&pageId=string' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Facebook page connected

Body*/*
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

Response
{
  "status": "SUCCESS",
  "message": "string",
  "warnings": [
    "string"
  ],
  "response": {
    "page": {
      "directoryUserAccount": {},
      "token": {},
      "pageId": "12345",
      "name": "Main Directory Page",
      "status": "VALID",
      "type": "FACEBOOK",
      "dateCreated": "2023-01-01T00:00:00Z",
      "lastUpdated": "2023-01-01T00:00:00Z"
    }
  }
}