---
title: "FacebookExternalHit: User Agent, robots.txt & Verification"
description: "FacebookExternalHit is Meta's fetcher that builds link previews when a URL is shared on Facebook, Instagram, Messenger or WhatsApp."
url: "https://justinha.info.vn/bots/social/facebookexternalhit/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

[Social and Messaging Previews](https://justinha.info.vn/bots/social/)

# FacebookExternalHit *user agent*

## Key Takeaways

- FacebookExternalHit is Meta's fetcher that builds link previews when a URL is shared on Facebook, Instagram, Messenger or WhatsApp.
- FacebookExternalHit uses the operator-documented robots.txt token facebookexternalhit.
- FacebookExternalHit has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.

Operated by [Meta](https://justinha.info.vn/bots/company/meta/)

Link previewOfficial docs Allow

FacebookExternalHit is Meta's fetcher that builds link previews when a URL is shared on Facebook, Instagram, Messenger or WhatsApp.

## What identifies FacebookExternalHit?

| Identifier | facebookexternalhit |
| --- | --- |
| Identity type | Operator-documented crawler or fetcher |
| Evidence for this identity | Operator documentation linked below |
| robots.txt policy | Yes |
| Recorded User-Agent sample | facebookexternalhit/1.1 (+http://www.facebook.com/externalhit\_uatext.php) |

## What is FacebookExternalHit?

FacebookExternalHit reads a shared page’s title, description and Open Graph image to build the preview card.

Blocking it breaks link previews across Meta’s apps, which usually lowers clicks from social shares. Meta notes it may bypass robots.txt when running security or integrity checks.

FacebookExternalHit is Meta's fetcher that builds link previews when a URL is shared on Facebook, Instagram, Messenger or WhatsApp. [Source](https://developers.facebook.com/documentation/sharing/webmasters/web-crawlers).

When investigating FacebookExternalHit, match the identifying token in context and inspect paths, response codes and source verification; a matching string is not authentication.

## Should you block FacebookExternalHit?

Consider allowing FacebookExternalHit when you use the associated service; verify identity, access requirements and server load first.

| Effect on search rankings | A social-preview fetch is distinct from search-engine indexing. |
| --- | --- |
| Effect on AI visibility | Blocking may affect future previews. Existing caches, metadata errors and image access can also affect the result. |
| Follows robots.txt | Yes |
| Recommendation | Allow |

## When does FacebookExternalHit visit your site?

FacebookExternalHit visits a page when its link is shared in a Meta app, to read the title, description and Open Graph image for the preview card. Meta notes it may also bypass robots.txt for security or integrity checks.

## Why did Meta create FacebookExternalHit?

Meta uses FacebookExternalHit to build link previews across its apps. It is separate from Meta-ExternalAgent, which collects content for training.

## What FacebookExternalHit means for GEO

FacebookExternalHit does not feed AI answers; it decides how your links look when people share them in Meta apps.

| What changes | If you allow it | If you block it |
| --- | --- | --- |
| **Link previews in Meta apps** | Shared links show a title, description and image. | Shared links appear as a bare URL, which usually earns fewer clicks. |
| **Meta AI training and search** | No change: those use Meta-ExternalAgent and Meta-WebIndexer. | No change: those use Meta-ExternalAgent and Meta-WebIndexer. |

## FacebookExternalHit vs other Meta bots

Meta runs a separate bot for each job, and each bot follows its own robots.txt rule. Blocking one does not block the others.

| Bot | Job | robots.txt | If you block it |
| --- | --- | --- | --- |
| **FacebookExternalHit** | Link preview | Yes | Blocking may affect future previews. Existing caches, metadata errors and image access can also affect the result. |
| [Meta-ExternalAgent](https://justinha.info.vn/bots/ai-crawlers/meta-externalagent/) | AI training | Yes | A rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product. |
| [Meta-WebIndexer](https://justinha.info.vn/bots/ai-search/meta-webindexer/) | AI search | Yes | Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed. |
| [Meta-ExternalFetcher](https://justinha.info.vn/bots/ai-assistants/meta-externalfetcher/) | AI assistant | Not for user-requested fetches | A blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions. |
| [Meta-ExternalAds](https://justinha.info.vn/bots/platform-fetchers/meta-externalads/) | Ads | Yes | Blocking may interrupt a dependent feature. Test the specific service instead of assuming a universal AI effect. |
| [FacebookBot](https://justinha.info.vn/bots/ai-crawlers/facebookbot/) | AI training | Yes | A rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product. |

## Should your type of site allow FacebookExternalHit?

| Every public website | Allow. Block Meta-ExternalAgent instead if the goal is to stay out of Meta AI training. |
| --- | --- |

## Common mistakes with FacebookExternalHit

- Blocking FacebookExternalHit to stop Meta AI training. That breaks link previews and does not affect Meta-ExternalAgent.

## How do you block or allow FacebookExternalHit?

Put the robots.txt rule in the file at the root of every domain and subdomain, for example ` https://example.com/robots.txt `. The token **facebookexternalhit** is matched case-insensitively.

robots.txt: block

```
# Block FacebookExternalHit
User-agent: facebookexternalhit
Disallow: /
```

robots.txt: allow

```
# Allow FacebookExternalHit
User-agent: facebookexternalhit
Allow: /
```

robots.txt: partial

```
# Keep FacebookExternalHit out of private areas only
User-agent: facebookexternalhit
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /
```

Nginx

```
# Nginx: return 403 to FacebookExternalHit
if ($http_user_agent ~* "(facebookexternalhit)") {
    return 403;
}
```

Apache

```
# Apache .htaccess: return 403 to FacebookExternalHit
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (facebookexternalhit) [NC]
RewriteRule .* - [F,L]
```

Cloudflare WAF

```
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "facebookexternalhit")
```

## How can you verify FacebookExternalHit traffic?

No IP list or reverse-DNS method for FacebookExternalHit is linked in this profile. The header alone cannot authenticate the sender. Anyone can send the same string. Rate-limit unusual volume instead of trusting the name.

## How do you find FacebookExternalHit in server logs?

Search the web server access log for the literal identifier. The command below counts candidate facebookexternalhit requests per URL on Nginx or Apache.

```
grep -iF -- 'facebookexternalhit' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20
```

For a full report per AI bot, upload the log to the [AI Log File Analyzer](https://justinha.info.vn/ai-log-file-analyzer-tool/), a free tool by Justin Hà.

## What user-agent string does FacebookExternalHit use?

A user-agent sample recorded in the cited source for FacebookExternalHit. Version numbers such as ` Chrome/W.X.Y.Z ` change over time, so match the token, not the whole string.

```
facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
```

## FacebookExternalHit FAQ

Does blocking FacebookExternalHit stop Meta from training on my content?

No. Training uses Meta-ExternalAgent. Blocking FacebookExternalHit only breaks link previews in Meta apps.

What is the FacebookExternalHit user agent?

FacebookExternalHit identifies itself with the robots.txt token "facebookexternalhit". A typical request header reads: facebookexternalhit/1.1 (+http://www.facebook.com/externalhit\_uatext.php)

Does FacebookExternalHit respect robots.txt?

Meta states that FacebookExternalHit follows robots.txt rules. Check the documented scope and any exceptions on this profile.

Will blocking FacebookExternalHit hurt my SEO?

A social-preview fetch is distinct from search-engine indexing. Blocking may affect future previews. Existing caches, metadata errors and image access can also affect the result.

How do I block FacebookExternalHit in robots.txt?

Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: facebookexternalhit" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.

How can I verify a request really comes from FacebookExternalHit?

Not reliably. Meta verification is not established by the links recorded for FacebookExternalHit. Anyone can send the same user-agent string; investigate source addresses and request behavior before trusting it.

How do I see if FacebookExternalHit visits my website?

Search your server access log for "facebookexternalhit", for example with: grep -i "facebookexternalhit" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.

Sources: [Meta crawler documentation](https://developers.facebook.com/documentation/sharing/webmasters/web-crawlers). Content updated November 27, 2026 by [Justin Hà](https://justinha.info.vn/about/).

## Related bots

[FacebookBot Meta AI training](https://justinha.info.vn/bots/ai-crawlers/facebookbot/)   [Facebot Meta Link preview](https://justinha.info.vn/bots/social/facebot/)   [Meta-ExternalAds Meta Ads](https://justinha.info.vn/bots/platform-fetchers/meta-externalads/)   [Meta-ExternalAgent Meta AI training](https://justinha.info.vn/bots/ai-crawlers/meta-externalagent/)   [Meta-ExternalFetcher Meta AI assistant](https://justinha.info.vn/bots/ai-assistants/meta-externalfetcher/)   [Meta-WebIndexer Meta AI search](https://justinha.info.vn/bots/ai-search/meta-webindexer/)

## See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
