Bot directory · Other
FacebookExternalHit
Fetches pages shared on Facebook, Instagram or Messenger to build link previews with title, description and thumbnail.
At a glance
- Operator
- Meta
- Purpose
- Other
- robots.txt token
facebookexternalhit- Obeys robots.txt
- PartlyMeta says it may bypass robots.txt when running security or integrity checks such as malware scanning.
- Published IP ranges
- None published
User agents
As Meta documents them. Version numbers can change.
facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)facebookexternalhit/1.1 Block or allow FacebookExternalHit in robots.txt
To keep FacebookExternalHit off the whole site:
User-agent: facebookexternalhit
Disallow: / To keep it out of one folder and allow the rest:
User-agent: facebookexternalhit
Disallow: /private/
A group for facebookexternalhit replaces your User-agent: * rules for this bot,
so repeat any general rules you still want it to follow. Check the result with the robots.txt checker.
How to verify FacebookExternalHit
Meta doesn’t document a way to verify FacebookExternalHit. Treat the user agent alone as a claim, not proof.
Good to know
Blocking it breaks link previews for the site on Meta's apps. Meta recommends allowlisting by IP as more secure than by user agent, but the current page does not publish the IP list.
Questions
What is FacebookExternalHit?
FacebookExternalHit is Meta’s other crawler. Fetches pages shared on Facebook, Instagram or Messenger to build link previews with title, description and thumbnail.
How do I block FacebookExternalHit?
Add “User-agent: facebookexternalhit” followed by “Disallow: /” to your robots.txt. Check the operator’s documentation for how it treats robots.txt, and block at your firewall or CDN if you need enforcement.
How do I know a request really comes from FacebookExternalHit?
Meta doesn’t document a way to verify FacebookExternalHit. Treat the user agent alone as a claim, not proof.