脸谱网“发送"按钮打开一个空白框 [英] facebook "send" button opens a blank box

查看:149
本文介绍了脸谱网“发送"按钮打开一个空白框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站是alonsart.com ...,当单击我网站上的发送"按钮时,它会打开一个空白框...

my site is alonsart.com... when clicking the send button on my site..it opens a blank box...

这是我的代码的样子:

<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId      : 'my_id', // App ID
      channelUrl : '//alonsart.com/index.html', // Channel File
      status     : true, // check login status
      cookie     : true, // enable cookies to allow the server to access the session
      xfbml      : true  // parse XFBML
    });

    // Additional initialization code here
  };

  // Load the SDK Asynchronously
  (function(d){
     var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement('script'); js.id = id; js.async = true;
     js.src = "//connect.facebook.net/en_US/all.js";
     ref.parentNode.insertBefore(js, ref);
   }(document));
</script>

当然还有div

       <div style="margin-top:20px" class="fb-like" data-send="true" data-width="450" data-show-faces="true"></div>

任何想法,为什么在单击时不显示任何内容?

any idea why it wouldnt show anything when clicked??

谢谢

推荐答案

尽管这个问题已经问了很久了,但是它可能会帮助某些人在偶尔遇到喜欢和发送插件方面的问题.

Although this question has been asked quite some time back but it might help someone looking for occasional problems with like and send plugin.

昨天,喜欢"和发送"插件也停止在我的网站上运行,并且实现没有任何问题.甚至 http://developers.facebook.com 上的发送按钮昨天都停止工作,今天又恢复了正常工作

Yesterday the like and send plugin stopped working for my site too and there was nothing wrong with the implementation. Even the send button on http://developers.facebook.com had stopped working yesterday and today it is working back again.

因此,请检查该插件是否也可以在其他站点上正常工作.如果不是这样,那么问题很可能出在Facebook的一端,而不是您的一端.

So check if the plugin is working on others sites too or not. If not then most likely the problem is at Facebook's end and not your end.

这篇关于脸谱网“发送"按钮打开一个空白框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆