当我使用图形协议让facebook获取我们的链接时,我遇到了如下问题。 (我的网站是越南人)
Fisrt:我在sucsongmoi.net/facebook.html上做了一个测试(它工作得很好)
第二:我将此(标记)应用于其他网页,例如网址:http://sucsongmoi.net/48/tam-kieu-ca-si-thu-minh-6882s.html 但它不再起作用了。我觉得很奇怪。我对https://developers.facebook.com/tools/debug进行了测试,但似乎无法弄清楚问题。
提前致谢
代码:
这是第二个链接的元数据:
<title>Tắm kiểu ca sĩ Thu Minh - SSM</title>
<meta property="og:title" content="Tắm kiểu ca sĩ Thu Minh - SSM" />
<meta property="og:type" content="article" />
<meta property="og:url" content="sucsongmoi.net/48/tam-kieu-ca-si-thu-minh-6882s.html"; />
<meta property="og:image" content="sucsongmoi.net/images/logo.png"; />
<meta property="og:site_name" content="SSM" />
<meta property="og:description" content="des" />
– nghiavt 56 mins ago upvote flag
Fist link:
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Angelina Jolie bị "đánh bại" dưới tay Jennifer Aniston - SSM </title>
<meta name="robots" content="INDEX,FOLLOW" />
<meta property="og:title" content="Angelina Jolie bị "đánh bại" dưới tay ennifer Aniston - SSM" />
<meta property="og:type" content="article" />
<meta property="og:url" content="sucsongmoi.net/facebook.html"; />
<meta property="og:image" content="sucsongmoi.net/images/logo.png"; />
<meta property="og:site_name" content="SSM" />
<meta property="og:description" content="des" />
答案 0 :(得分:0)
一个小问题,为什么你的属性后面有分号?
<meta property="og:url" content="sucsongmoi.net/facebook.html"; />
<meta property="og:url" content="sucsongmoi.net/48/tam-kieu-ca-si-thu-minh-6882s.html"; />
当我调试你的链接时,FB调试器说:
Inferred Property: The og:url property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property: The og:title property should be explicitly provided, even if a value can be inferred from other tags.
这意味着您没有将元标记放到您的网页上,请再次查看