Message a Facebook Marketplace seller
Open a Facebook Marketplace listing's message box as the signed-in account and type a message to its seller. With send false (the default) the message is typed and left unsent, and the script returns what the box holds; with send true it is sent. A listing you cannot message (your own, removed, or messaging off) returns an error.
Input
listing requiredListing id or item link, from search_marketplace_listings.
message requiredsend optionalfalse types the message without sending it.
Default: falseOutput
sent requiredlistingId requiredsellerName requiredtypedMessage 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 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.
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.
Join Facebook groups automatically
Join Facebook groups automatically from an agent, one group per call, including private groups with entry questions. Join a Facebook group by id/slug. Returns status (joined / pending / already_member) and name. Pending means a private-group request was sent, not membership.
