API · Facebook
GET /facebook/pages/{page}
A Facebook Page or public profile: name, category, verified, follower counts, photos, intro (contact, website).
| Request | GET /v1/facebook/pages/{page} |
| Operation id | facebook.page.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Facebook Page or public profile: name, category, verified, follower counts, photos, intro (contact, website).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | string | yes | Page URL, vanity name or numeric id. Example: nike. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The Page. | FacebookPage |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The ad, Page or advertiser is not in the Meta Ad Library. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Facebook is temporarily unavailable. Retryable; nothing was charged. | Error |
FacebookPage fields
| Field | Type | Description |
|---|---|---|
id | string | The Page id (the profile id for a person’s profile). |
profile_id | string | null | The id of the profile behind the Page. |
name | string | null | |
url | string | |
category_name | string | null | |
is_verified | boolean | |
profile_picture_uri | string | null | |
cover_photo_uri | string | null | |
social_context | string[] | The header’s counts as Facebook words them (“39M followers”). |
follower_count | integer | null | From the rounded text: 39M is 39000000. |
following_count | integer | null | |
like_count | integer | null | |
intro | string[] | The intro lines: category, who runs the Page, phone, email, website, address, hours. |
Errors use one shape everywhere; see Errors for every code and what to do.