我正在从网站上分享WhatsApp的详细信息,它的工作方式就像我正在给予https://www.facebook.com,这意味着它会自动采取:
我想提供Title
和'描述'和image
>下面的代码我正在尝试,但我无法分享我期待的细节
<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>
答案 0 :(得分:0)
您将facebook.com分享给WhatsApp,因此WhatsApp从Facebook获取元信息。
您需要更改此
<a href="https://web.whatsapp.com/send?text=<your website>">Share To WhatsApp</a>