Facebook Profiles
Facebook profiles and Pages are public identity surfaces with names, bio or about text, avatars, canonical links, and visible audience or activity counters. These identity fields and public signals support URL enrichment, entity matching, metadata snapshots, and comparative research.
Facebook Profiles API Features
- Direct lookup for known URLsSubmit multiple public Facebook profile or Page URLs and receive at most one normalized profile record for each input.
- Normalized identity fieldsThe Facebook Profiles API returns the Facebook ID, canonical URL, display name, record type, and original input URL in a consistent structure.
- Public profile presentationCapture the public bio, intro, description, or about text together with the available profile or Page avatar.
- Visible profile countersNormalize common public follower, following, post, like, comment, view, play, and share counters exposed by the target.
Facebook Profiles API Parameters
| Parameters | Required | Description |
|---|---|---|
urls | Required | Required public Facebook profile or Page URLs. Accepted hosts are facebook.com, www.facebook.com, and m.facebook.com; separate multiple values with commas or new lines. |
How to Use the Facebook Profiles API
Submit profile or Page URLs to the Facebook Profiles API as an asynchronous task, poll its task ID, then read the normalized profile records.
- Prepare one or more public profile or Page URLs on facebook.com, www.facebook.com, or m.facebook.com.
- POST urls to /v1/facebook/profiles.
- Poll /v1/tasks/{task_id} until the status is succeeded.
- Read data.results.items from /v1/tasks/{task_id}?limit=50 and follow results.next_cursor while results.has_more is true.
curl -X POST "https://api.socq.ai/v1/facebook/profiles" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":["https://www.facebook.com/NASA"]}'
# Poll GET /v1/tasks/{task_id}, then read /v1/tasks/{task_id}?limit=50 and use data.results.items.Facebook Profiles API Use Cases
- Profile and Page catalog enrichment: Add normalized IDs, names, canonical links, bio text, avatars, and visible counters from the Facebook Profiles API to a catalog of known Facebook URLs.
- Known-URL identity matching: Use returned IDs, canonical URLs, names, and extra.input_url to connect submitted links with existing entity records.
- Public metadata snapshots: Store collected_at with the available profile text, avatar, and counters to compare public metadata across collection runs.
Facebook Profiles API Pro Tips
- Verify that each URL points to the intended profile or Page, because request validation checks the Facebook host but not the resource path.
- Keep extra.input_url when reconciling a multi-URL Facebook Profiles API task, since duplicate or unavailable inputs can produce fewer records than submitted URLs.
- Treat names, profile text, avatars, and individual metric values as nullable because personal profiles and Pages expose different public fields.
- Use the corresponding Facebook content endpoint when you need posts, photos, Reels, events, or reviews rather than profile-level metadata.
Related APIs
Beyond the Facebook Profiles API, use these APIs when you need a different type of public Facebook data.
- Facebook Pages API — Retrieve public Page profiles, contact details, images, and visible audience ratings.
- Facebook Posts API — Collect public posts, media, reactions, comments, and shares from supported Facebook URLs.
- Facebook Comments API — Collect public comments, authors, engagement, media, and source links from post URLs.
- Facebook Profile Events API — Collect public events associated with profile or Page URLs, including names, schedules, locations, media, visible metrics, and source context.
- Facebook Profile Photos API — Collect public photos from profile or Page URLs with captions, author context, engagement, image metadata, and source references.
- Facebook Reels API — Collect public Reels from profile or Page URLs with captions, author context, video metadata, visible engagement, and source references.