我的网站是 alonsart.com...单击我网站上的发送按钮时...打开一个空白框...
这就是我的代码的样子:
<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>
知道为什么单击时它不会显示任何内容吗?
谢谢