FacebookBot — How to Check, Allow & Block It

Meta's older crawler token, largely superseded by Meta-ExternalAgent.

Quick Specifications: FacebookBot Fact Sheet

Operating EntityMeta
Primary PurposeTraining / Model Pre-training Crawler
Exact User-Agent StringFacebookBot
Robots Control TokenNo (active HTTP web crawler)
Robots Protocol StatusNo (strictly conforms to robots.txt RFC 9309 rules)
Official Documentationhttps://github.com/ai-robots-txt/ai.robots.txt
Cloudflare Edge DefaultHandled under legacy AI scraping lists and blocked under automated bot protections.
Real Blocking ImpactBlocking FacebookBot stops legacy Meta crawling scripts. It does not prevent users from sharing links on Facebook or Messenger.
Related Portfolio BotsMeta-ExternalAgent, meta-webindexer, Meta-ExternalFetcher
Community source Community-maintained list — last reviewed 2026-10-16. We have not verified this entry against the operator's own documentation.

1. What is FacebookBot?

FacebookBot is Meta's legacy web crawler token, historically used for data collection and algorithmic feed analysis. While modern Llama training is primarily conducted by Meta-ExternalAgent, FacebookBot remains present across web server logs and robots.txt directives. As artificial intelligence engines transition from closed training runs toward live, real-time knowledge retrieval, understanding the mechanical distinctions between background model pre-training and conversational inference is paramount for modern digital publishers and web engineering teams.

FacebookBot traverses public web links, respecting robots.txt Disallow and Allow directives. It is distinct from facebookexternalhit (the link preview crawler) and meta-webindexer (the search indexer). When web servers receive incoming connections from FacebookBot, the underlying networking stacks evaluate whether the request adheres to documented IP subnets, whether DNS reverse-lookups validate operator provenance, and whether the targeted URLs are cleared by domain governance policies.

Data Processing & Ingestion Architecture: Historically gathered web content to improve platform recommendation models. Largely superseded by Meta-ExternalAgent in modern AI operations. For website operators, this architecture dictates whether your intellectual property is processed into static parameters of large language models or referenced dynamically during conversational question-answering sessions.

Cloudflare and Edge Firewall Status: Handled under legacy AI scraping lists and blocked under automated bot protections. On September 15, 2026, Cloudflare introduced foundational changes to its default bot management system across all ad-supported tiers of newly created domains. If your origin server relies entirely on robots.txt files to govern FacebookBot, you may experience discrepancies where the edge firewall terminates the crawler connection with an HTTP 403 Forbidden code before your origin application or robots.txt parser is even invoked.

2. How to check if FacebookBot can access your site

Verifying whether FacebookBot can successfully reach and process your web pages requires looking across three separate, non-overlapping architectural layers: the robots.txt policy layer, the network-level User-Agent HTTP probe layer, and the page-level indexability layer. Assuming that a passing result in one layer guarantees full visibility in another is a widespread engineering trap.

Step 1: Test the User-Agent via HTTP curl emulation
Execute the following command in your terminal to inspect how your web server, CDN, and WAF respond when a client identifies with the FacebookBot user agent string:

curl -A "FacebookBot/1.0" -I https://yoursite.com

Analyze the HTTP response headers carefully:

  • HTTP 200 OK: Your web server and CDN edge permit connections carrying the FacebookBot signature. Content can be retrieved over HTTP.
  • HTTP 403 Forbidden: A web application firewall (WAF), Cloudflare managed rule, or origin web server security module is explicitly rejecting FacebookBot based on its header or IP address.
  • HTTP 503 Service Unavailable / Challenge: An edge CDN challenge page (such as Cloudflare Turnstile or Akamai Bot Manager) has intercepted the crawler, preventing automated access.
  • HTTP 301 / 302 Redirect: The crawler is being forwarded to a different URL (for example, HTTP to HTTPS or apex to www). Ensure the destination host serves an identical robots.txt policy.

Step 2: Inspect Page-Level Index Directives
Even if FacebookBot is fully allowed to crawl a URL over HTTP, it cannot index or cite the page if the document carries a noindex directive in its response headers (X-Robots-Tag: noindex) or in its HTML header (<meta name="robots" content="noindex">). A crawlable page can still be completely invisible to search indexes.

Step 3: Run the Free Automated AI Crawler Visibility Check
Instead of manually running command-line probes and inspecting headers across multiple hosts, use our instant free AI crawler visibility checker on checkaibots.com. It simultaneously audits your website against FacebookBot and 39 other major AI crawlers, compares www versus naked domain robots.txt configurations, performs UA-level HTTP baseline probes, and flags accidental misconfigurations in seconds.

3. How to allow FacebookBot in robots.txt

To grant FacebookBot full permission to crawl your website in accordance with the official RFC 9309 protocol, place an explicit User-agent declaration at the root of your domain (https://yoursite.com/robots.txt).

Standard Full-Site Access Rule:

User-agent: FacebookBot
Allow: /

Selective Access (Protecting Sensitive Subdirectories):
If your website contains private administrative portals, checkout flows, internal search results, or user account dashboards, you can protect those sensitive paths while granting FacebookBot unrestricted access to public articles, blog posts, documentation, and product catalogs:

User-agent: FacebookBot
Allow: /
Disallow: /admin/
Disallow: /checkout/
Disallow: /internal/
Disallow: /api/
Disallow: /*?token=*

RFC 9309 Rules and Precedence: Under official robots.txt protocol rules, when multiple path rules match a given URL, the rule with the longest matching character length takes absolute precedence. In the event of a tie where both an Allow and a Disallow rule have identical string lengths, the Allow directive wins. Furthermore, avoid the common error of leaving an empty Disallow statement (Disallow:), which according to the specification acts as a complete permit for all paths.

4. How to block FacebookBot in robots.txt

If your organization's copyright policy, competitive licensing stance, or infrastructure budget requires restricting FacebookBot, you can signal an explicit block by adding the following directive to your robots.txt file:

User-agent: FacebookBot
Disallow: /

Crawl Budget and Cache Invalidation: Once your robots.txt file is updated, automated crawlers typically require between 24 and 48 hours to refresh their cached copy of your domain's directives. Existing data already ingested into previously trained neural weights cannot be retroactively purged via robots.txt, but future training iterations and live indexing updates will respect the updated boundary.

5. FacebookBot vs Sibling Crawlers

A primary failure mode in modern search optimization is treating all crawlers from a given artificial intelligence operator as a monolithic entity. Operators such as OpenAI, Anthropic, Google, and Meta partition their crawling infrastructure into distinct functional categories: bulk model pre-training crawlers, real-time search citation indexers, and user-directed live fetchers.

The table below illustrates the exact architectural distinctions, operational objectives, and visibility implications across Meta's crawler fleet and comparable industry counterparts:

Crawler Token Functional Role Affects Citations? Affects Training? Cloudflare Default
FacebookBot (Current) Training / Model Pre-training Crawler No Yes (Directly) Blocked
Meta-ExternalAgent Training Crawler No Yes (Training) Blocked
meta-webindexer Search Indexer Yes (Citations) No Allowed
Meta-ExternalFetcher User Fetcher No No Blocked

The Expensive Mistake in AI SEO: When organizations implement blanket robots.txt disallows aiming to protect copyright, they frequently copy-paste blocklists that include both training crawlers and search indexers (such as blocking OAI-SearchBot while intending to block GPTBot). Disallowing a search indexer silently excises the domain from AI answers, preventing brand citations, referral clicks, and audience discovery while leaving model training opt-outs completely unaffected. Keep your training policies and search indexing permissions strictly decoupled.

6. Common mistakes when configuring FacebookBot

Mistake #1: Confusing FacebookBot with facebookexternalhit

Disallowing facebookexternalhit breaks link previews on Facebook; disallowing FacebookBot does not.

Mistake #2: Only blocking FacebookBot while leaving Meta-ExternalAgent allowed

Modern Llama training uses Meta-ExternalAgent; blocking only FacebookBot leaves model training unblocked.

Mistake #3: Overlooking syntax merging in robots.txt

Ensure FacebookBot rules are grouped cleanly without invalid directives.

Mistake #4: Failing to check server log traffic

Verify whether FacebookBot is generating notable volume on your infrastructure.

Mistake #5: Apex vs WWW Host Discrepancies

Many sites serve completely different robots.txt files on www.yoursite.com and the bare domain yoursite.com. Automated crawlers treat these as separate origins; if you update one host but omit the other, crawlers will continue encountering old directives.

7. Frequently asked questions about FacebookBot

Does blocking FacebookBot break link previews on Facebook and Messenger?

No. Link previews when users share URLs are handled by facebookexternalhit, not FacebookBot.

Why does Meta maintain both FacebookBot and Meta-ExternalAgent?

FacebookBot is an older legacy crawler token, whereas Meta-ExternalAgent was introduced specifically for modern Llama AI training.

Should I block both FacebookBot and Meta-ExternalAgent to opt out of Meta AI training?

Yes. Adding both to your robots.txt Disallow list provides comprehensive protection against Meta training.

Does FacebookBot obey robots.txt rules?

Yes. Meta states that its automated crawlers adhere to robots.txt standards.

What IP ranges does FacebookBot use?

FacebookBot originates from Meta's autonomous system (AS32934).

checkaibots.com — AI visibility checker · Free · No signup