Link Previews?

I have a SPA I’m serving through cloudflare pages and would love if there was a way to make link unfurling work when sharing the link to a page elsewhere. The SPA is an image gallery site so being able to have an image of the gallery itself as the link image would be great (as well as passing through a name to the link - is this possible?
1 Reply
i40west
i40west13mo ago
Link previews are created by adding Open Graph metadata to your HTML header. If you're using a framework to create your site it may have a feature or plugin to do this as it's a common requirement. Search for "Open Graph" for info, or here's a good summary I found: https://ahrefs.com/blog/open-graph-meta-tags/
Michal Pecánek
SEO Blog by Ahrefs
Open Graph Meta Tags: Everything You Need to Know
Make your content more clickable and shareable on social media.
Want results from more Discord servers?
Add your server