App Logo
facebook.com

Get Facebook profile info

Get header and intro info for a Facebook profile or page (pass a URL or a bare id/username). Returns the type (profile or page), the name, friends, likes and follower counts as displayed, mutual friends, and the intro lines — bio plus city, work and education for people, or the description for pages. Counts come back as the strings Facebook shows (e.g. "11 K") and intro lines are returned as they appear, not sorted into city, work or school fields. Works in either the French or the English interface. An id or username Facebook will not serve returns a clear error rather than an empty record.

Input

profile required

Profile/page URL or bare id/username.

Output

name required

Display name as shown on the header.

type required

What Facebook itself labels the target: a person/public-figure profile, or a Page.

intro required

Intro card lines as shown (bio, category, city, work, education, contact links), in page order and not classified into fields.

profileUrl required

Canonical profile/page URL, query string stripped.

likes optional

Like count exactly as displayed; null when the header shows no likes.

followers optional

Follower count exactly as displayed; null when the header shows no followers.

friendsCount optional

Friend count exactly as displayed (e.g. "1,2 K"); null on Pages and wherever Facebook does not show one.

mutualFriends optional

Mutual-friends line as displayed; null when there is none.

Start building not clicking