I am trying to enable link sharing (text + image) on WhatsApp through my website. I have implemented OG tags.
In the head -
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Yuva Registration" />
<meta property="og:description" content="Register to get benefits" />
<meta property="og:site_name" content="Yuva" />
<meta property="og:url" content="http://ad-test.easygov.co.in/PanAdvertisement/"/>
<meta property="og:image" itemProp="image" content="http://ad-test.easygov.co.in/advertisement/test.png"/>
<meta property="og:image:type" content="image/png"/>
In My body -
<link itemprop="thumbnailUrl" href="http://ad-test.easygov.co.in/advertisement/test.png" />
<span itemprop="thumbnail" itemscope itemtype="http://schema.org/ImageObject" >
<link itemprop="url" href="http://ad-test.easygov.co.in/advertisement/test.png" />
</span>
I verified my tags via Sharing Debugger , everything seems in order, the debugger is fetching all my tags.
This is Whatsapp anchor tag -
<a href="https://web.whatsapp.com/send?text= Please Visit https://easygov.co.in/PanAdvertisement"
rel="nofollow noopener" target="_blank"
className="share-icon"><img src="/img/share-icon.png" style={{height:'36px'}}/>Share via Whatsapp</a>
But On sharing I am getting only text - Please Visit https://easygov.co.in/PanAdvertisement
I am unable to figure out what am I missing or Doing wrong.
Thanks!