how to set image for domain when paste into socials

i want add image when i paste link website into facebook , it will show image , web that i use deployed on vercel
No description
2 Replies
MarkBoots
MarkBoots10mo ago
It is done with the open-graph meta tags in the head of the html this would supply the image
<head>
<meta property="og:image" content="https://domain.com/image.jpg" />
</head>
<head>
<meta property="og:image" content="https://domain.com/image.jpg" />
</head>
but there are more tags that you could consider => https://ogp.me/
Open Graph protocol
The Open Graph protocol enables any web page to become a rich object in a social graph.
conmeomaunau
conmeomaunauOP10mo ago
@MarkBoots thank you so much
Want results from more Discord servers?
Add your server