1
就在几天前,Facebook Like和Send按钮从我的网站产品页面中消失。代码仍然存在,并且在消失之前已经运行了好几个月。其中一个产品页面的链接是http://www.finesgas.com/details/gas_grill_brands/broilmaster_brands/popular_models/p3sxFacebook“Like”和“Send”按钮消失
这是我现在使用的代码。
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<meta property="og:title" content=" Broilmaster P3SX Grill With Portable Cart" />
<meta property="og:type" content="product" />
<meta property="og:description" content="Broilmaster P3SX gas Grill With Portable Cart Base " />
<meta property="og:site_name" content="FinesGas" />
<meta property="fb:admins" content="1222761017" />
<meta property="og:image" content="http://www.finesgas.com/images/broilmaster-p3sx-loaded.jpg" />
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<fb:like send="true" layout="button_count" width="250" show_faces="false" action="Like" font="tahoma"></fb:like>
<div style="padding:5px;"></div>
我加入的xmlns:FB = “http://ogp.me/ns/fb#” 的HTML标签和按钮仍然没有显示。还有其他建议吗? –
是的,请使用类似按钮的html5版本:'
' –另外,请在此重新生成所有代码,因为它看起来不太正确:https://developers.facebook.com/docs/reference/plugins/像/ –