简体   繁体   English

单击时添加到我的网站的Facebook Like按钮未显示在FB中

[英]Facebook Like Button Added to My Site Not Showing Up in FB when clicked

I added the following to my website: 我在网站上添加了以下内容:

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

<div class="fb-like" data-href="${URL}" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div>

Every thing seems to be working with one exception. 每件事似乎都在起作用,只有一个例外。 I am allowed to add comments, but when the Post to Facebook button is clicked, nothing is showing up in Recent Activity or Likes on Facebook itself. 我可以添加评论,但是单击“发布到Facebook”按钮时,Facebook上的“最近活动”或“喜欢”中没有任何内容。 Is there an issue with FB? FB有问题吗? Other things I like from other sites are appearing in Recent Activity and Likes. 我从其他站点喜欢的其他内容显示在“最近的活动”和“喜欢”中。

您的应用ID丢失

  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=xxxxxxxx";

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

相关问题 Facebook赞按钮插件没有出现在我的浏览器中 - Facebook Like button plugin not showing up in my browser 单击“赞”按钮并将评论添加到“赞”时,IE 9两次发布到Facebook墙 - IE 9 is posting to facebook wall twice when like button is clicked and a comment is added to like 为我的网站(如Gplus或FB)加载自定义社交按钮 - Load Custom Social Button For My Site Like Gplus or FB 检测 Facebook 点赞按钮何时被点击 - Detect when Facebook like button is clicked 单击页面上的按钮时,不显示离开站点确认对话框 - Making the leaving site confirm dialog not showing up when a button on the page is clicked 在我网站上的Facebook之类的按钮上,如何禁用“发布到Facebook”按钮? - On Facebook like button on my site, how to disable “post to Facebook” button? 当有人喜欢我的fb页面时显示弹出窗口 - Showing a pop up window when someone likes my fb page 如何确定用户是否已经喜欢使用Facebook之类的按钮的页面(网站页面不是FB)? - How to determine if user already liked page(page of site not FB) with facebook like button? Facebook赞按钮在网站上不起作用,但FB URL Linter不报告错误 - Facebook Like button does not work on site but FB URL Linter not reporting errors 像按钮的Facebook没有显示 - Facebook like button is not showing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM