Facebook Page Scraper API: Read Public Page Profiles and Posts
A Facebook page scraper reads the public data of a Facebook Page (name, follower count, bio, creation date, recent posts and their engagement) without you managing that Page. If the Page is yours, Meta's Graph API is the right tool. For arbitrary public Pages, such as competitors, prospects or brands you research, you need either Meta's Page Public Content Access approval or a read-only public data API.
This guide covers what a Facebook page scraper can return, where the official route stops, and what tends to break in DIY scrapers. It also includes a real request and response you can run.
Two jobs hiding behind "Facebook page scraper"
Most listings for this keyword mix two jobs, and buyers often pay for the wrong one.
- Page profile data. This is the About-level picture: Page name, handle, numeric ID, follower count, bio or category, creation date, external link, avatar and verification flag. Lead-generation tools stretch this to contact fields like email, phone and address when the Page publishes them.
- Page posts data. This is the feed: post text, publish date, reaction, comment and share counts, attached media and post URL. A third layer, comments and replies, sits under each post.
A clean model uses one endpoint per job. SocialLens reads the Page profile with /v1/profile, the feed with /v1/profile-posts, and the conversation with /v1/post-comments. All three use one key and one JSON shape that also works across 16 other networks.
What the official Graph API can and cannot read
The marketplace listings promise to go "beyond the limitations of the Facebook API" without saying what those limitations are. Here they are.
Pages you manage. The Graph API reads your own Pages through Page access tokens and permissions such as pages_read_engagement and pages_read_user_content. If you want your own Page's data, including private insights, use this route.
Pages you do not manage. Reading those requires the Page Public Content Access (PPCA) feature. Meta's PPCA reference says it grants access to the Pages Search API and to public data for Pages where you lack those two permissions. That public data covers business metadata, public posts and public comments. The catch:
- PPCA needs App Review. Until your app is approved, the feature only works for people who hold a role on the app or in the business portfolio that claimed it.
- The allowed use is narrow. Meta describes it as analyzing and/or displaying posts and engagement on Pages.
- Even with approval, only public data comes back. The Page reference states this for both PPCA and Page Public Metadata Access.
- Rate limits matter. Meta recommends a system user access token with PPCA to avoid rate limiting issues.
- Failed or unapproved calls typically surface as permission errors (such as code 100 or #10), not as empty data.
Meta Content Library. Meta built the Content Library and API, announced in November 2023, as a research tool with near real-time public content from Facebook Pages, posts, groups and events. Access goes through an application process for researchers, and analysis happens in a cleanroom environment. It does not fit a product or a sales workflow. Researchers who relied on CrowdTangle should read social media data for academic research after CrowdTangle.
Everyone else (agencies, SaaS builders, growth teams, AI agents) usually wants a read-only data API. It reads what any logged-out visitor sees on a public Page, with no Meta app and no App Review. The longer trade-off is in Facebook Graph API alternative.
One request, the whole Page profile
Here is a real read of the official Facebook Page, run on December 4, 2026:
curl "https://api.sociallens.dev/v1/profile?platform=facebook&username=facebook" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
{
"exists": true,
"username": "facebook",
"platform": "facebook",
"nickname": "Facebook",
"verified": false,
"private": null,
"followers": 154886380,
"is_exact": true,
"following": null,
"likes": null,
"videos": 0,
"bio": "Internet company",
"id": "100064860875397",
"created_at": "November 7, 2007",
"external_link": "https://www.facebook.com/help",
"category": null,
"fetched_at": "2026-12-04T05:27:43Z",
"credits": { "source": "paid", "charged": 1, "balance": 9954 }
}
(The avatar URL is trimmed here for length. The live response includes it.)
What the response tells you:
followersis exact. The response reports 154,886,380 followers, andis_exact: trueconfirms it is the full integer, not a "154M" label parsed back into digits.- Nulls are honest.
following,likes,privateandcategorycame backnullbecause the source did not expose them on this read. The API does not estimate them. - IDs and dates are included. The numeric Page ID (
100064860875397) andcreated_atlet you join records and spot newly created Pages. verifiedreflects what the source returned. On this read it wasfalse. Treat it as reported data, not an independent verification check.- Billing is visible.
"charged": 1shows one credit for one successful read.
If a handle does not exist, you get "exists": false with a normal response, and the read costs nothing.
Page posts and comments, same shape
For the feed, swap the endpoint:
curl "https://api.sociallens.dev/v1/profile-posts?platform=facebook&username=facebook&limit=10" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Each post returns the same field names you get on other networks: url, caption, published_at, likes, comments and, for video, views. Fields Facebook does not show for a given post come back null. For the thread under a post, pass its URL to /v1/post-comments:
curl "https://api.sociallens.dev/v1/post-comments?platform=facebook&url=POST_URL" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Each comment returns text, author, likes and replies. Together the three calls give you a Page, its recent posts and the conversation under them. For more on comment reads across networks, see the social media comments API guide.
Why DIY Facebook page scrapers break
The open-source libraries that rank for this keyword all use the same method. They fetch the public Page HTML with a browser-like client, then pull out the JSON that Facebook embeds in the document. This works until something changes, and on Facebook something changes often:
- Login walls. Facebook sometimes serves its login page instead of the public Page, especially to datacenter IPs or at volume. Even vendor sample code includes a "detect the login page, retry" branch.
- Embedded JSON drift. When Facebook renames or moves the fields in its embedded payload, parsers return empty values or crash. The most-cited Python library on GitHub has gone years without an update.
- Proxies are your job. DIY examples take a
proxyargument because you need residential IPs to avoid blocks. Sourcing, rotating and paying for those proxies is real ongoing work. - Regional and layout variants. The same Page can render differently by country, language or Page type. A parser tested on one variant can quietly miss fields on another.
- Deleted and renamed Pages. Handles change and Pages disappear. A scraper needs to tell "gone" apart from "blocked."
A data API absorbs that maintenance. You get a stable JSON contract, exists: false for missing Pages, and null where a field is not public, so a broken parser cannot slip a silent zero into your dataset.
What the public data does not cover
A Facebook page scraper has real limits, and you should know them before you build:
- Personal profiles, private groups and DMs. SocialLens reads public Pages and public business data only. It does not log in, act as an account, post, or touch anything behind a login.
- Page Insights. Reach, impressions and audience breakdowns are owner-only analytics. Use the Graph API on Pages you manage.
- Reaction breakdowns. Per-type reactions (love, haha, angry) are not always present in the public view. Expect totals, and treat per-type data as unavailable unless it is returned.
- Contact fields. Email and phone only exist if the Page publishes them publicly. Many Pages do not.
- Fraud or audience-quality scoring. Raw public numbers are not an authenticity score.
- Ads. Ad data lives in Meta's Ad Library, a separate system covered in the Ad Library API guide.
On the legal side, reading logged-off public data differs from scraping behind a login, and Page posts can still contain personal data about commenters. Rules like GDPR apply to how you store and use that data. For a fuller treatment, read is social media scraping legal.
Facebook page scraper options compared
| Option | How you call it | Pages you don't manage | Billing model | Notes |
|---|---|---|---|---|
| SocialLens | Synchronous GET or MCP tool | Yes, public Pages | One credit per HTTP 200; errors and not-found cost zero; credits never expire | Same schema across 17 networks; see pricing |
| Apify Actors | Start a run, poll, fetch dataset | Yes, varies by Actor | Per result or per compute, varies by publisher | Many overlapping Actors with different field sets |
| Bright Data | Scraper API or datasets | Yes | Usage-based or dataset purchase | Strong for very large bulk jobs |
| Data365 | REST API | Yes | Subscription tiers | Monthly plans |
| Meta Graph API with PPCA | Graph API calls | Only after App Review | Free with an approved app | Use limited to analyzing and displaying Page posts and engagement |
Two cost questions matter more than the headline per-1,000 price. First, are you billed per Page, per post or per comment? Second, are failed or deleted Pages billed? On SocialLens, only a successful read costs a credit, and you get 250 free reads to start with no card. Teams moving off Actor runs can compare details in the Apify alternative guide.
Using a Facebook page scraper from an AI agent
Actor-style tools are asynchronous: start a job, wait, then download a dataset. That pattern fits batch exports but works poorly for an AI agent that needs an answer mid-conversation. A synchronous read fits better, and an MCP server makes it a native tool call:
npx -y sociallens-mcp
Set SOCIALLENS_API_KEY in the environment. The server is listed in the official MCP registry as dev.sociallens/sociallens-mcp. Your agent can then ask for a Page's follower count, recent posts or comment thread and get the same JSON shown above. For assistants without a key, there is a rate-limited lookup at https://sociallens.dev/lookup?username=facebook&platform=facebook that serves verified AI crawlers. Setup steps are in the agents guide, and the wider landscape is in best social media MCP server.
When another option is the better fit
- You manage the Page. Use the Graph API. It reaches private insights that no public read can.
- You are an academic researcher who needs historical breadth and can work in a cleanroom. Apply for Meta Content Library access.
- You need a one-off bulk export of a huge, fixed list. A dataset purchase from Bright Data or a large Apify run may suit a single job better than per-read calls.
- You need live reads in an app, a CRM or an agent, especially across more than one network. A synchronous, read-only API with one schema saves you from maintaining parsers.
FAQ
What is a Facebook page scraper? A Facebook page scraper is a tool or API that reads public data from Facebook Pages, such as name, follower count, bio, posts and engagement. It works without you managing the Page. SocialLens does this read-only, with no login.
Can I read a Facebook Page I don't manage with the Graph API? Only with the Page Public Content Access feature, which needs App Review. Meta limits it to analyzing and displaying posts and engagement on Pages. Without approval, it only works for people with a role on your app.
Does a Facebook page scraper need a login or cookies? Not for public Pages. SocialLens reads what a logged-out visitor sees and never logs in or acts as an account.
Are Facebook Page follower counts exact?
On the December 4, 2026 read of the official Facebook Page, the API returned 154,886,380 followers with is_exact: true. When a source exposes only a rounded figure, the flag says so.
Can it scrape personal Facebook profiles or private groups? No. SocialLens reads public Pages and public business data only, never personal profiles, login-gated groups or messages.
Am I charged for deleted or missing Pages?
No. A missing handle returns "exists": false, and errors and not-found results cost zero credits. Only a successful read is billed.
Related guides
- Social Media APIs Compared: Official APIs vs One Public Data API
- Instagram Scraper API: Public Profiles, Posts and Comments
- X (Twitter) Profile Scraper API: Read Public Profiles and Posts
- Facebook Graph API Alternative: Any Public Page (2026)
- The Best Facebook Data API for Public Page Data in 2026
- Ad Library API for Facebook, TikTok, Google (2026)
- Best Reddit Data API in 2026: Subreddit Profiles, Posts and Comments