App Logo
facebook.com

Facebook whoami (signed-in account)

Report which Facebook account this browser is signed in as: the user id and name, and whether it acts as a Page. A browser held at a Facebook security checkpoint is reported as such. A signed-out browser fails with a signed-out error asking you to sign in to Facebook, so it can be used to check a session before running other Facebook scripts. It never signs in.

Input

None

Output

id required

User id of the signed-in account; null when signed out.

name required

Display name of the identity the browser acts as.

state required

ok: signed in. logged_out: no account signed in. checkpoint: Facebook holds the session at a security check the user must pass in the browser.

actingId required

Id of the identity the browser acts as: the account itself, or the Page it is switched to.

evidence required
loggedIn required

True when a Facebook account is signed in and usable (state ok).

actingAsPage required

True when the account is switched to a Page: posts, comments and group membership are then the Page's, not the personal profile's.

FAQ

Report which Facebook account this browser is signed in as: the user id and name, and whether it acts as a Page. A browser held at a Facebook security checkpoint is reported as such. A signed-out browser fails with a signed-out error asking you to sign in to Facebook, so it can be used to check a session before running other Facebook scripts. It never signs in.
Nothing. It takes no input.
It returns id, name, state, actingId, evidence, loggedIn, actingAsPage.
Yes. It acts as you on facebook.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the facebook.com cookies saved by the Reduck extension.
It only reads. It looks things up on facebook.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/facebook.com/whoami, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/facebook.com/whoami
It is part of Reduck's official curated catalogue.

Start building not clicking