SocialAPIs icon

SocialAPIs

Access public data from major social platforms

Facebook Search → Search People

AI-generated

Summary

Search for Facebook people by keyword.

Inputs

  • query (required) — Keyword to search for people
  • limit — Maximum number of results to return (default 50)
  • additionalFields — Additional fields that can be included, such as pagination cursor or location UID for filtering

Output shape

array of person objects returned by the search

Results include matching profiles; pagination is controlled by the end_cursor field in additionalFields.

Examples

Example 1: Search for people named 'Alice' and return up to 20 results

Query = 'Alice', Limit = 20

Example 2: Search people in a specific location using a location UID

Query = 'New York', AdditionalFields.location_uid = '12345'

Example 3: Fetch next page of results using the previous end_cursor

AdditionalFields.end_cursor = 'abc123', Query = 'Developer'

Links

Discussion