Facebook Page Scraper API: Read Public Page Profiles and Posts

Published · 9 min read

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.

  1. 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.
  2. 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:

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:

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:

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:

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

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.

Run these requests yourself

Every example on this page is a real call to the SocialLens API. A new account starts with 250 free reads, no card needed, and a read that fails is never charged.

Keep reading