X card tester

Test a link’s X card: its twitter: tags, its image, and for a player card whether the player route lets X frame it. Or make the player card tags to paste.

Or make the tags
A player card X can frameExample
twitter:player · 1280 × 720

example.comA roof repair, start to finish

twitter:card
player
twitter:player
https://example.com/embed/roof-tour
twitter:player:width
1280
twitter:player:height
720
twitter:image
https://example.com/share/roof-tour.png

The player is on https with its size given, a still image stands in until it plays, and the player route’s headers let X put it in a frame.

What does it check?

Rules from the rulebook, and how many of the sites mttr has read miss each.

  1. Set a share imageSet og:image so links to the page carry a picture.
    70%of sites miss it

Questions

Is there still an official Twitter card validator?

No. X retired its card validator in 2022. Posting the link, or a tester like this one, is how to see what X will show.

Why does X show no card for my link?

The usual causes are robots.txt keeping Twitterbot out, a missing twitter:card or og:image, or an image X cannot fetch. The tester checks each in that order.

What does a player card need?

twitter:card set to player, a player address on https, its width and height, and a player route whose headers let X frame it.