Curator API: Get Facebook Pages
GET https://api.curator.io/v1.2/connections/CONNECTION_ID/facebook-pages lists the Facebook Pages that a Facebook connection manages, so you can pick one for a Facebook Page source. Curator asks Facebook for the list on every request. The request needs your API key, and your plan must include API access. Only HTTPS is supported.
Authentication
Send your Curator API key (find it in the Curator Dashboard) in one of three ways: as a query string (?api_key=API_KEY), as a Basic auth header with the API key as the username, or as a Bearer token (Authorization: Bearer API_KEY). You can only use connections in the account the key belongs to.
Example request
curl "https://api.curator.io/v1.2/connections/CONNECTION_ID/facebook-pages?api_key=API_KEY"Parameters
Parameter | Description |
|---|---|
| The API ID of a Facebook connection ( |
Response
A 200 response is a JSON array of Pages, or [] when there are none:
Field | Description |
|---|---|
| The Page's Facebook ID and name. |
| The Page's username and URL, when Facebook provides them. |
| The Page's short name. |
| The Page's picture, with |
| Whether Facebook granted access to the Page. |
Errors
Status | When | Body |
|---|---|---|
401 | The API key is missing or not valid. |
|
403 | Your plan does not include API access. |
|
403 | The connection belongs to another account. |
|
404 | No connection has that ID. |
|
429 | When rate limiting is enabled, more than 60 requests per minute. |
|
500 | Facebook returned an error, for example because the connection expired, or the connection is not a Facebook connection. |
|