好的......所以我们能够让Facebook正确显示og:类似按钮的元数据,但评论功能仍然不适合我们。我们确实看到我们遇到了doctype和char编码的问题,我们已经修复了这个问题。但正如我所说,评论功能仍然没有使用og:元数据。这是我们的代码
<!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>
我们也能够最终让Facebook刮掉页面......但是评论仍然没有运气http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.itsjust4me.com%2FProducts%2FCoatRacks%2FWhite_Personalized_Coat_Rack.html
答案 0 :(得分:2)
好吧,错误是抱怨您没有指定og:url
标记 - 为什么不这样做并查看它是否修复了它?
此外,可能不相关,但<meta>
标记应为小写。 Dunno如果Facebook以这种方式验证它们,但值得一试。
答案 1 :(得分:1)
你永远不会关闭你的meta
- 标签,你应该为所有这些标签尝试。
<META NAME="robots" CONTENT="INDEXFOLLOW, " />
如果Linter抱怨,你也应该设置og:url
标签;)