Is 1200 x 630px the holy grail?
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.
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