在通过Whatsapp共享网站时,我试图添加一个缩略图,其中包含有关我的网站的一些详细信息。 我的共享链接按钮如下放置在http://MY_IP/sms/index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Whatsapp Test</title>
<link rel="shortcut icon" href="favicon_2.png" type="image/x-icon" />
</head>
<body>
<h1>My Tests</h1>
<div style="margin-top: 50px;">
<a href="whatsapp://send?phone=+918129664901&text=<?php echo urlencode('http://MY_IP/sms/test.php'); ?>" data-action="share/whatsapp/share" style="background-color: green;color: #fff;font-size: 30px;font-weight: bold;width:150px;padding: 5px;" >Whatsapp 2</a>
</div>
</body>
</html>
我需要在缩略图中显示的我的网站如下http://MY_IP/sms/test.php
<html>
<head>
<meta property="og:title" content="How to change the address bar color in Chrome, Firefox, Opera, Safari" />
<meta property="og:description" content="How to change the address bar color in Chrome, Firefox, Opera, Safari" />
<meta property="og:url" content="http://MY_IP/sms/test.php" />
<meta property="og:image" content="http://MY_IP/sms/logo.png" />
</head>
<body>
<h1>Hi</h1>
</body>
</html>
现在,我只需在手机中浏览http://MY_IP/sms/index.php,然后单击 Whatsapp 2 按钮。如下所示打开我的Whatsapp
除“拇指指甲”外,其他所有内容都可以。 logo.png 大小为31.9KB,尺寸为256 X256。请帮助我