Official scripts
Explore our curated collection of scripts
Send Facebook friend request
Send a friend request to a Facebook profile (pass its URL or numeric userId), only when the profile is addable. Returns status: sent / already_pending / already_friends / not_addable. Does not confirm incoming requests; the request is reversible by canceling it from the profile. Works in any interface language.
Get the comments and reactions of a Facebook post
Get the comments and reactions of a Facebook post as structured data, with the reaction breakdown by type. Get reactions (total + breakdown by type), comment and share counts, and loaded comments (author, text, reactions, reply flag) for a Facebook post URL. Comments are an infinite-scroll sample in non-deterministic "Most relevant" order, capped by commentLimit.
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.
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.
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.
Export the list of Facebook groups you're in
Export the list of Facebook groups you are a member of without waiting for Facebook's Download Your Information archive. List the Facebook groups you belong to, and separately the ones you asked to join and are still waiting on. Each entry gives the group's id, link, name, and the line the page shows beneath it — when you last visited for a membership, how long ago the request was sent for a pending one. The counts Facebook displays come back too, so you can tell a capped read from a complete one. Handy for auditing a large account, or for spotting join requests that have been waiting too long.
Leave multiple Facebook groups at once
Leave several Facebook groups at once by calling this once per group from an agent, instead of clicking through each one. Leave a Facebook group, or withdraw a pending join request, as the signed-in identity. Pass the group's id, short name or URL. Returns what actually happened: left, request_cancelled, not_member (you weren't a member — nothing to do), or unavailable (the group no longer exists or your account cannot see it).
Get your Facebook notifications automatically
Get your Facebook notifications automatically as structured rows, instead of turning on push notifications and reading them by hand. List your Facebook notifications, each with a machine-readable type — a group accepted your join request, an admin approved your post, someone commented on your post, a new follower, and so on. Each row carries the text shown, whether it is unread, its displayed age, and a direct link to the item it is about, so one call tells you everything that changed without visiting each group.
Post to a Facebook group without the Groups API
Publish to Facebook groups from an agent without Graph API group posting permissions, which Meta removed in v19: this acts as the signed-in member, so it needs no app review. Publish a post to a Facebook group, optionally with a photo (imageUrl fetched in-page, or imageBase64). Works on discussion and buy/sell groups. Returns posted, photoAttached, and verified — the post is looked up on the group's "your content" page after publishing, so verified:false flags posts held for admin approval. dryRun arms the composer without publishing.
Bulk delete your Facebook group posts
Bulk delete your Facebook group posts by calling this once per post from an agent; Facebook has no bulk delete for group posts. Delete one of your own Facebook posts (typically a group post) from its link. Only your own posts can be deleted — if the post belongs to someone else the script refuses and says so. Returns deleted once the link stops resolving, or already_gone when the post no longer existed.
Scrape posts from a Facebook group or page
Scrape posts from a Facebook group or page feed as structured data: author, text, reactions, comments, shares. List posts from a Facebook group or page feed (pass its full URL). Returns per post postId, url, author, authorUrl, reactions, comments, shares, createdTime and text. Counts are the site's displayed strings (e.g. "1,2 k"); the feed is a capped sample (by limit) in the default relevance order, not strict reverse-chronological.
Export a Facebook group member list
Export the member list of a Facebook group as structured data, the CSV-style export Facebook itself does not offer. List members of a Facebook group with name, userId, profileUrl, and a subtitle (a role like "Admin", a bio, mutual friends, or how long ago they joined, as Facebook shows it). Order follows Facebook's own members view (admins and group contributors, then recent members), so it doubles as a "who's active / who to connect with" surface. Results load as you scroll and are capped by limit.
Like YouTube video
Like a YouTube video — has no effect if it's already liked.
Subscribe to Substack publication
Subscribe the logged-in account to a Substack publication's free tier.
Get LinkedIn profile posts
Get a LinkedIn profile's recent posts from its activity feed by public ID, scrolling to load up to count posts. Returns each post's text, urn/url, age, engagement counts, and repost info.
Like a TikTok video
Like a TikTok video (as the logged-in account) by URL or id. Safe to repeat: it does nothing if you already liked it.
Read an X (Twitter) Community's posts
Read the posts of an X (Twitter) Community, by its numeric id (x.com/i/communities/<id>), from its Top tab (default) or its Latest tab. Returns the community_id, the tab, the count, and per post: id, url, author handle and name, text, created_at, has_media, and reply, retweet and like counts. Needs a signed-in account: signed out, X shows no feed.
Get Medium author's posts
List an author's published posts on Medium (from their profile Home tab): title, URL, tags, claps, read time, published date, and whether locked (member-only). No login required.
Get LinkedIn profile comments
Get the comments a LinkedIn profile has left on posts, from its Comments activity feed by public ID, scrolling to load up to count comments. Returns each comment's text/urn/age/reactions and the post it was made on (author, text, url).
Like Substack post
Like a Substack post as the logged-in account.
X (Twitter) profile unofficial API: get a user's bio and followers
Look up an X user's profile by handle. Returns handle, user_id, name, bio, location, website, joined, followers_count, following_count, is_verified, is_self, is_following, follows_you. Follower/following counts are exact integers, not X's abbreviated "3.7M" display text. bio and website carry the real destination URLs, with X's t.co shortlinks resolved. is_following is null on your own profile (you have no follow relationship to yourself); user_id is always present.
Get YC company profile
Get one YC company's full public profile (ycombinator.com/companies/<slug>): pitch, batch/status, founders, socials, open jobs, news, launches, photos, founder Q&A.
Like LinkedIn post
Like a LinkedIn post by its permalink. Only the default Like reaction is supported (not celebrate, support, love, insightful, or funny), and it likes the main post itself, not an individual comment. Safe to call again on a post you already liked — it reports that instead of erroring.
Get App Store app reviews
Read an App Store app's customer reviews and aggregate rating from its public "Ratings & Reviews" page, for any storefront country. Returns averageRating, the site's own ratings-count text, and the reviews the page renders (id, title, rating 1-5, author, ISO date, full body). Anonymous, read-only. Apple's web page serves a fixed first page of ~10 reviews and exposes no pagination, offset or sort control at all, so that is the ceiling — deeper history is not a web affordance.
