List Facebook Messenger conversations
Automatically list Facebook Messenger conversations on facebook.com. List the most recent conversations of the signed-in Facebook account's Messenger inbox: id, link, name, the other participants, whether it is a group, the latest message preview, the time of the latest activity and whether it is unread. Reading the list marks nothing as read. Facebook serves around 30 conversations with the page; limit caps how many are returned and served says how many were available. End-to-end encrypted conversations are listed without a preview. Works in any interface language.
Input
limit optionalMaximum number of conversations to return, most recent first.
Default: 20Output
served requiredHow many conversations Facebook served with the page (the most recent ones, usually around 30). The inbox can hold more.
conversations requiredFAQ
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, then city, work and education for people or the description for pages, then links and contact lines. Counts come back as the strings Facebook shows (e.g. "11 K") and intro lines are returned as they appear, not sorted into fields. Works in any interface language. An id or username Facebook will not serve returns a clear error rather than an empty record.
Search Facebook Marketplace listings
Search Facebook Marketplace listings by keyword, with the site's filters: place, price range, sort order, condition, listing age, delivery method, availability and category. Returns each listing's id, link, title, price, city, photo, seller, listing date and status. Without locationId the search uses the account's current Marketplace place and radius; get ids from suggest_marketplace_locations and category ids from list_marketplace_categories. Results load by scroll: count caps how many are returned and complete is true only when Facebook had no more to give. An empty list means nothing matched.
Find Facebook groups by keyword
Find Facebook groups by keyword with member counts and posting activity, as structured data. Search Facebook groups by keyword. Returns groupId, name, url, privacy, members, postsPerDay. Results are infinite-scroll, capped by limit.
