Facebook

Profile

A profile or Page: its name, category, bio, followers, picture and cover, and the details its Intro shows logged out, such as a Page's address, phone, email, website, hours and rating.

GET/v1/facebook/profile1 credit
x-api-key*stringrequiredheader

Your API key, made in the dashboard.

Parameters

2
handlestringoptionalquery

A profile's or Page's handle: the part of its link after facebook.com/ (uniladmag), or its id. Give handle or url.

example: uniladmag

urlstringoptionalquery

A profile's or Page's link: facebook.com/<handle>, /profile.php?id=<id> or /people/<name>/<id>. Give handle or url.

max 300 chars

Response fields

31
dataobject

The result: one object, or a list for the endpoints that return several.

data.idstring

Facebook's id for the profile or Page: digits, written as text.

data.page_idstringnullable

The Page's id where the profile is a Page's: the Ad Library's page_id takes it.

data.urlstring

The profile's link.

data.namestringnullable

Its name.

data.verifiedbooleannullable

Whether Facebook shows its blue badge.

data.categorystringnullable

What the Page says it is (Entertainment website, Public figure).

data.biostringnullable

The text at the top of its Intro.

data.followersintegernullable

Followers, exact.

data.followingintegernullable

Profiles and Pages it follows, where it shows them; Facebook rounds large numbers.

data.talking_aboutintegernullable

People talking about it, a Page's count of recent engagement.

data.picturestringnullable

Its profile picture's link.

data.coverstringnullable

Its cover photo's link.

data.addressstringnullable

Where it is, as the Page gives it.

data.phonestringnullable

Its phone number.

data.emailstringnullable

Its email address.

data.websitestringnullable

Its website.

data.hoursstringnullable

Its opening hours, as Facebook sums them up (Always open, Open now).

data.ratingstringnullable

Its rating, as Facebook writes it (100% recommend (7 reviews)).

data.introstring[]nullable

Every line of its Intro, as Facebook shows it: a person's work, studies and places, a Page's details.

pageobjectnullable

Paging, for the endpoints that page; null for the others.

page.next_cursorstringnullable

Send it as the cursor parameter, with the same other parameters, for the next page. Null on the last page.

page.has_morebooleanoptional

Whether another page follows.

default: false

metaobject

About this call.

meta.platformstring

The platform: reddit, threads, tiktok or youtube.

meta.endpointstring

The endpoint's name, such as channel_videos.

meta.paramsobject

The call's parameters, defaults included. Parameters without a value, and the cursor, are left out.

meta.request_idstring

This call's id. Quote it when you report a problem.

meta.api_versionstring

The API version that answered.

meta.fetched_atstring

When the data was fetched from the platform (UTC).

format: date-time

meta.cachedbooleanoptional

Whether it came from our cache; fetched_at says how old it is.

default: false

Code example

curl -X GET 'https://api.socialparse.dev/v1/facebook/profile?handle=uniladmag' \  -H 'x-api-key: YOUR_API_KEY'

Responses

Successful Response

{  "data": {    "id": "string",    "page_id": "string",    "url": "string",    "name": "string",    "verified": true,    "category": "string",    "bio": "string",    "followers": 0,    "following": 0,    "talking_about": 0,    "picture": "string",    "cover": "string",    "address": "string",    "phone": "string",    "email": "string",    "website": "string",    "hours": "string",    "rating": "string",    "intro": [      "string"    ]  },  "page": {    "next_cursor": "string",    "has_more": false  },  "meta": {    "platform": "string",    "endpoint": "string",    "params": {      "property1": "string",      "property2": "string"    },    "request_id": "string",    "api_version": "string",    "fetched_at": "2019-08-24T14:15:22Z",    "cached": false  }}