GroundsocialDocs

API · Facebook

GET /facebook/pages/{page}

A Facebook Page or public profile: name, category, verified, follower counts, photos, intro (contact, website).

RequestGET /v1/facebook/pages/{page}
Operation idfacebook.page.get
Cost2 credits, refunded if the call fails
AuthAPI 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

NameTypeRequiredDescription
pagestringyesPage URL, vanity name or numeric id. Example: nike.

Responses

StatusMeaningSchema
200The Page.FacebookPage
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The ad, Page or advertiser is not in the Meta Ad Library.Error
429Too many requests. Wait for Retry-After seconds.Error
503Facebook is temporarily unavailable. Retryable; nothing was charged.Error

FacebookPage fields

FieldTypeDescription
idstringThe Page id (the profile id for a person’s profile).
profile_idstring | nullThe id of the profile behind the Page.
namestring | null
urlstring
category_namestring | null
is_verifiedboolean
profile_picture_uristring | null
cover_photo_uristring | null
social_contextstring[]The header’s counts as Facebook words them (“39M followers”).
follower_countinteger | nullFrom the rounded text: 39M is 39000000.
following_countinteger | null
like_countinteger | null
introstring[]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.