Better Fetch

Facebook Pages Scraper

Extract public Facebook Page Plugin metadata from one or more page URLs or slugs, including page name, Facebook URL, numeric ID, follower count, verification label, intro text, and profile image when visible.

Socialv0.1.1~1 credit/runSource on GitHub

Overview

Facebook Pages Scraper gives agents a validated no-login slice of public Facebook Page research. Provide a Facebook Page URL, slug, or small batch of URLs and the tool renders Facebook's public Page Plugin, then normalizes the visible page header into compact records with page name, canonical Facebook URL, numeric page ID, follower count, verification label, intro text when exposed, profile image URL, and source URL. It is built for lightweight lead enrichment, brand monitoring, page identity checks, and social-media research where public Page Plugin metadata is enough.

Last validated: Jul 3, 2026

Playground

Extra milliseconds to wait after the Page Plugin loads.

Single public Facebook Page URL, e.g. https://www.facebook.com/NASA. Use page_url, page_slug, or page_urls.

Single Facebook Page slug, numeric page ID, or simple page path, e.g. NASA. Use page_url, page_slug, or page_urls.

Optional batch of up to five Facebook Page URLs, slugs, or numeric page IDs. One item per line.

Sign in to run this tool

~1 credit per run · runs against your account

Input

wait_msintegerdefault: 3500

Extra milliseconds to wait after the Page Plugin loads.

page_urlstring

Single public Facebook Page URL, e.g. https://www.facebook.com/NASA. Use page_url, page_slug, or page_urls.

page_slugstring

Single Facebook Page slug, numeric page ID, or simple page path, e.g. NASA. Use page_url, page_slug, or page_urls.

page_urlsstring[]

Optional batch of up to five Facebook Page URLs, slugs, or numeric page IDs.

Output

countintegerrequired

Number of returned public page records

pagesobject[]required

Public Facebook Page metadata records visible in the Page Plugin

source_urlsstring[]required

Fetched Facebook Page Plugin URLs

Examples

nasa-page

{
  "page_slug": "NASA"
}

Use cases

Page identity checks

Verify that a Facebook Page URL resolves to the expected public name, canonical Facebook URL, numeric page ID, visible follower count, and profile image.

Social lead enrichment

Add public Facebook Page names, follower counts, profile images, and intro text to lead or brand records without maintaining a Facebook login session.

Brand monitoring

Track public Page follower-count signals and canonical IDs for official pages before a workflow runs deeper social listening or campaign analysis.

FAQ

Does Facebook Pages Scraper need a Facebook login?

No. Version 0.1 uses Facebook's public Page Plugin through Better Fetch and only returns metadata visible through that public embed surface.

Does it return email, address, phone, reviews, or ads status?

Not in this first slice. Version 0.1 is intentionally limited to Page Plugin-visible page header metadata and does not use cookies, private Graph API tokens, or authenticated Facebook pages.

Why do some pages return fewer fields?

Facebook controls what the Page Plugin exposes. Restricted, unsupported, unavailable, or layout-shifted pages may expose only a subset of page name, follower count, image, intro, and canonical URL.

Use it anywhere

MCP (Claude, Cursor, any client)

# Add the Better Fetch MCP connector (or paste the URL into
# Claude → Settings → Connectors → Add custom connector):
claude mcp add --transport http better-fetch https://betterfetch.co/api/mcp \
  --header "Authorization: Bearer bf_your_key_here"

# Then ask for the tool by name: facebook_pages_scraper

REST

curl -sS -X POST "https://betterfetch.co/api/tools/facebook_pages_scraper/run" \
  -H "Authorization: Bearer bf_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"input": {"page_slug":"NASA"}}'

Run locally

git clone https://github.com/better-fetch/tools/tree/main/tools/facebook-pages-scraper && cd facebook-pages-scraper && npm i
BETTER_FETCH_API_KEY=bf_your_key_here npx bf-tool run --input '{"page_slug":"NASA"}'