facebookog:meta未被识别



好的。。。因此,我们能够让Facebook正确地显示点赞按钮的og:meta数据,但评论功能仍然不适用于我们。我们确实看到我们在doctype和char编码方面存在问题,我们已经修复了这些问题。但正如我所说,comments函数仍然没有使用og:meta数据。这是我们的代码

<!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" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>White Coat Rack w/ Shelf : Personalized Step Stool : Gifts for Kids : Name Puzzle Stools</title>
<meta name="DESCRIPTION" content="ItsJust4me.com - personalized gifts for all ages! Personalized Step Stools, Personalized Puzzle Stools, Personalized CD, Personalized Books, Personalized Crayola Gifts, Personalized NFL Gifts, and more!">
<meta name="robots" content="INDEXFOLLOW">
<meta http-equiv="CONTENT-LANGUAGE" content="English">
<meta name="robots" content="INDEXFOLLOW">
<meta name="REVISIT-AFTER" content="1">
<meta name="RATING" content="General">
<meta name="ObjectType" content="Document">
<meta name="Revisit" content="1">
<meta name="CLASSIFICATION" content="Advertising">
<meta name="Distribution" content="Local">
<link rel="stylesheet" type="text/css" href="http://www.itsjust4me.com/usermods/_INCstyles_.css" media="all">
<link rel="stylesheet" type="text/css" href="http://www.itsjust4me.com/usermods/stylemy.css" media="all">
<script type="text/javascript" src="http://www.itsjust4me.com/usermods/timer.js"></script><script type="text/javascript" src="http://www.itsjust4me.com/usermods/ajax.js"></script><meta property="og:title" content="Name Puzzle Stool">
<meta property="og:url" content="http://www.itsjust4me.com/Products/CoatRacks/White_Personalized_Coat_Rack.html">
<meta property="og:type" content="product">
<meta property="og:description" content="ItsJust4me.com - personalized gifts for all ages! Personalized Step Stools, Personalized Puzzle Stools, Personalized CD, Personalized Books, Personalized Crayola Gifts, Personalized NFL Gifts, and more!">
<meta property="og:image" content="http://www.itsjust4me.com/prodimages/CoatWhiShe_lg.jpg">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>White Coat Rack w/ Shelf : Personalized Step Stool : Gifts for Kids : Name Puzzle Stools</title>
<meta name="DESCRIPTION" content="ItsJust4me.com - personalized gifts for all ages! Personalized Step Stools, Personalized Puzzle Stools, Personalized CD, Personalized Books, Personalized Crayola Gifts, Personalized NFL Gifts, and more!">
<meta name="robots" content="INDEXFOLLOW">
<meta http-equiv="CONTENT-LANGUAGE" content="English">
<meta name="robots" content="INDEXFOLLOW">
<meta name="REVISIT-AFTER" content="1">
<meta name="RATING" content="General">
<meta name="ObjectType" content="Document">
<meta name="Revisit" content="1">
<meta name="CLASSIFICATION" content="Advertising">
<meta name="Distribution" content="Local">
<link rel="stylesheet" type="text/css" href="http://www.itsjust4me.com/usermods/_INCstyles_.css" media="all">
<link rel="stylesheet" type="text/css" href="http://www.itsjust4me.com/usermods/stylemy.css" media="all">
<script type="text/javascript" src="http://www.itsjust4me.com/usermods/timer.js"></script><script type="text/javascript" src="http://www.itsjust4me.com/usermods/ajax.js"></script><meta property="og:title" content="Name Puzzle Stool">
<meta property="og:url" content="http://www.itsjust4me.com/Products/CoatRacks/White_Personalized_Coat_Rack.html">
<meta property="og:type" content="product">
<meta property="og:description" content="ItsJust4me.com - personalized gifts for all ages! Personalized Step Stools, Personalized Puzzle Stools, Personalized CD, Personalized Books, Personalized Crayola Gifts, Personalized NFL Gifts, and more!">
<meta property="og:image" content="http://www.itsjust4me.com/prodimages/CoatWhiShe_lg.jpg">
<meta property="fb:app_id" content="231280463620932">
</head>
<body onload="GetCurrentTime();GetSpecialInfo();">
<div id="livezilla_tracking" style="display:none"></div>
<div id="fb-root"></div><meta property="fb:app_id" content="231280463620932">
</head>
<body onload="GetCurrentTime();GetSpecialInfo();">
<div id="livezilla_tracking" style="display:none"></div>
<div id="fb-root"></div>

我们也终于能够让脸书刮到页面。。。但评论仍然没有成功http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.itsjust4me.com%2FProducts%2FCoatRacks%2FWhite_Personalized_Coat_Rack.html

好吧,错误是抱怨您没有指定og:url标记——为什么不这样做,看看它是否修复了它?

此外,可能不相关,但<meta>标记应该是小写的。不知道脸书是否以这种方式验证了它们,但值得一试。

您永远不会关闭meta-标签,您应该对所有标签都这样做。

<META NAME="robots" CONTENT="INDEXFOLLOW, " />

此外,如果Linter抱怨,您应该设置og:url标签;)

最新更新