Other automated crawlers

facebookexternalhit

facebookexternalhit is a bot operated by Meta/Facebook that crawls the web automatically. Note that excluding FacebookExternalHit will block incorporating OpenGraph data when sharing in social media, including rich links in Apple's Messages app. It is documented as not following robots.txt, and a request claiming to be facebookexternalhit can be checked against the operator's announced ASN.

Meta/FacebookOperator ASNrobots.txt:Ignores

Live check

Verify an IP that claimed to be facebookexternalhit

Paste the address from the log line. It is checked against what the operator publishes.

Reference

facebookexternalhit at a glance

Reference data for the facebookexternalhit crawler
User agentfacebookexternalhit

Token only: match on the substring.

OperatorMeta/Facebook
PurposeOstensibly only for sharing, but likely used as an AI crawler as well
Respects robots.txtIgnoressource
Verification methodOperator ASNOperator ASN check

The link-preview scraper. It has existed far longer than the AI agents and is the most commonly spoofed Meta token, so check AS32934 before trusting it.

https://developers.facebook.com/docs/sharing/webmasters/web-crawlers/

Crawl patternNot published
Robots.txt tokensfacebookexternalhit
Operator documentationhttps://developers.facebook.com/docs/sharing/webmasters/web-crawlers/

Note that excluding FacebookExternalHit will block incorporating OpenGraph data when sharing in social media, including rich links in Apple's Messages app. According to Meta, its purpose is "to crawl the content of an app or website that was shared on one of Meta’s family of apps…". However, see discussions here and here for evidence to the contrary.

robots.txt

Allow or block facebookexternalhit

facebookexternalhit is documented as ignoring robots.txt. Enforce a block at your CDN too.

Block facebookexternalhit
User-agent: facebookexternalhit
Disallow: /
Allow facebookexternalhit
User-agent: facebookexternalhit
Allow: /
Allow, except the pages you never want quoted
User-agent: facebookexternalhit
Allow: /
Disallow: /account/
Disallow: /checkout/
Disallow: /search

Edit the Disallow paths to match your own URLs.

What blocking actually costs you

Blocking facebookexternalhit stops this specific token. Check your logs afterwards, because operators that ignore robots.txt often come back under a different name.

Build a file for every crawler

FAQ

facebookexternalhit questions

What is facebookexternalhit?

facebookexternalhit is a bot operated by Meta/Facebook that crawls the web automatically. Note that excluding FacebookExternalHit will block incorporating OpenGraph data when sharing in social media, including rich links in Apple's Messages app. It is documented as not following robots.txt, and a request claiming to be facebookexternalhit can be checked against the operator's announced ASN.

Does facebookexternalhit respect robots.txt?

No. facebookexternalhit is documented as not following robots.txt, so a Disallow line will not stop it. Blocking needs to happen at the edge, by user agent or by source address.

How do I verify a request really came from facebookexternalhit?

The link-preview scraper. It has existed far longer than the AI agents and is the most commonly spoofed Meta token, so check AS32934 before trusting it. The reference is published at https://developers.facebook.com/docs/sharing/webmasters/web-crawlers/.

How do I block facebookexternalhit?

Add the facebookexternalhit token to robots.txt with Disallow: /. If the crawler ignores robots.txt, match the user agent at your CDN or reverse proxy and return 403 there instead.

Will blocking facebookexternalhit hurt my search rankings?

Blocking facebookexternalhit stops this specific token. Check your logs afterwards, because operators that ignore robots.txt often come back under a different name.

    facebookexternalhit (Meta/Facebook): User Agent, IP Verification & robots.txt | IPScanner