queen.raae.codes · a developer’s logbook
← The log
1 min read

Is 1200 x 630px the holy grail?

Written in 2023, 3 years ago. Tools and advice may have moved on since.

We finally added an open graph image on last week’s unauthorized and rum-fueled treasure hunt, so the URL looks nice when shared on social media.

Screengrab from stream

We ended up being super confused by the size requirements, but 1200 x 630px seems to be the holy grail of these images. The size works across Twitter, LinkedIn and Facebook.

Let me know if I am wrong, please!

Both LinkedIn and Facebook require a meta tag with property set to og-image:

<meta property="og:image" content={imageUrl} />

While Twitter requires a meta tag with name set to twitter:image in addition to information about the style of the “sharing card”:

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content={imageUrl} />

 

All the best,
Queen Raae

Join the crew!

All the shenanigans from me and my piratical family, straight to your inbox.

Search the log

↑↓ to move · Enter to open · Esc to close All entries →