简体   繁体   English

Facebook的“赞”和“发送”按钮消失了

[英]Facebook “Like” and “Send” buttons disappeared

Just a few days ago the Facebook Like and Send buttons disappeared from my site products pages. 几天前,Facebook的“喜欢”和“发送”按钮从我的站点产品页面上消失了。 The code is still in place and has work for months before they disappeared. 该代码仍然存在,并且在消失前已经工作了几个月。 A link to one of the product pages is http://www.finesgas.com/details/gas_grill_brands/broilmaster_brands/popular_models/p3sx 产品页面之一的链接为http://www.finesgas.com/details/gas_grill_brands/broilmaster_brands/popular_models/p3sx

The is the code that I have in place right now. 这是我现在所拥有的代码。

<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>

将以下内容添加到您的html标签...

xmlns:fb="http://ogp.me/ns/fb#"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM