SOCIAL · X

Twitterbot

Fetches URLs shared in tweets to render the Twitter Card preview. Reads twitter:card, twitter:title, twitter:image, falls back to og:* tags.

Specs

VendorX
CategorySOCIAL
robots.txt tokenTwitterbot
Renders JavaScriptHTTP only
Honors robots.txtpartial

User-Agent string

Mozilla/5.0 (compatible; Twitterbot/1.0)

Considerations

  • Static HTML required for cards. SPAs that don't SSR card metadata get blank previews.
  • The UA still says 'Twitterbot' even after the X rebrand.

robots.txt recipe

User-agent: Twitterbot
Allow: /

Sources: X Developer · Card markup

← Back to directory