Allow or block Twitterbot
User-agent: Twitterbot
Disallow: /Asks Twitterbot not to crawl any page. Well-behaved crawlers stop; it does not stop anyone who ignores robots.txt.
User-agent: Twitterbot
Allow: /Lets Twitterbot crawl everything. You only need this if a broader rule would otherwise block it.
Should you block it?
Blocking Twitterbot breaks the preview card when someone shares your link on X.