0

I am doing share the details to WhatsApp from the website, it is working like I am giving https://www.facebook.com, which means it is automatically taking the:

  1. Title
  2. description
  3. image

This not my requirement

I want to give my Title and 'description' and image> The below code I am trying like that but I am not able share the details what I am expecting

<html>
<head>
<meta property="og:title" content="Testing" />
<meta property="og:description" content="How to change the address" />
<meta property="og:url" content="https://www.facebook.com/" />
<meta property="og:image" content="https://teja8.kuikr.com/o1/20180330/ak_1762149779-1522418417.jpg" />
</head>
</html>

 <a href="https://web.whatsapp.com/send?text=https://www.facebook.com/">Share To WhatsApp</a>
Kirk Beard
  • 9,569
  • 12
  • 43
  • 47
kumaran jayam
  • 33
  • 1
  • 2
  • 8

1 Answers1

0

You share facebook.com to WhatsApp, so WhatsApp get meta info from facebook.

You need change this

 <a href="https://web.whatsapp.com/send?text=<your website>">Share To WhatsApp</a>
Bogdan
  • 116
  • 4