Facebook whoami (signed-in account)
Report which Facebook account this browser is signed in as: the user id and name. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Facebook scripts. It never signs in.
Input
None
Output
evidence requiredloggedIn requiredid optionalname optionalFAQ
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.
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.
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.
