I’ve created a react SPA. But when I share the link, it neither generates the link preview nor the description & title. I used meta tags from metatags.io for preview but it didn’t work. This website is deployed at Vercel
In my index.html
file, I added these meta tags:
<title>My website</title>
<meta name="title" content="My website" />
<meta name="description" content="Lorem ipsum dolor sit" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.mywebsite.io/" />
<meta property="og:title" content="My website" />
<meta property="og:description" content="Lorem ipsum dolor sit" />
<meta property="og:image" content="./favicon.png" />