打开Grapgh 代码。
<head>
<title>Sale Scrap</title>
<meta charset="utf-8">
<meta property="og:title" content="salescrap.online" />
<meta property="og:image" content="www.salescrap.online/Image-Building/5a66f4a440a12building.gif">
<meta property="og:description" content="Ads post by Name:Awais Phone Number:03016660717">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
Facebook分享按钮
<a href="http://www.facebook.com/share.php?u=www.salescrap.online/detail.php?Id=4&Type=Image-Building"
target="_blank"><strong style="color:#007bff;">Share On:</strong><img src="Image/Facebook.png" width="150px" height="50px">
此代码无法正常工作且无法获取信息。当我点击分享按钮打开新的水龙头和在Facebook网站上没有得到图片,并跳过这样的最后一部分 - &gt;来自此链接http://www.facebook.com/share.php?u=www.salescrap.online/detail.php?Id=4&Type=Image-Building的类型=图片构建,也无法通过WhatsApp中的<og>
元标记获取信息。
答案 0 :(得分:1)
提供og:图片网址,www.salescrap.online / Image-Building / 5a76f4a440a12building.gif不是有效网址
将协议添加到og:image
:
<meta property="og:image" content="http://www.salescrap.online/Image-Building/5a66f4a440a12building.gif">