Facebook登录显示为文本

Facebook登录显示为文本,facebook,Facebook,我想为我的网站创建一个Facebook登录。我使用的代码与源代码相同。但是登录按钮只显示为Facebook的文本登录。有人能帮忙吗 我的代码是: <html> <head> <title>My Facebook Login Page</title> </head> <body> <div id="fb-root"></div> <scr

我想为我的网站创建一个Facebook登录。我使用的代码与源代码相同。但是登录按钮只显示为Facebook的文本登录。有人能帮忙吗

我的代码是:

<html>
    <head>
      <title>My Facebook Login Page</title>
    </head>
    <body>
      <div id="fb-root"></div>
      <script>
        window.fbAsyncInit = function() {
          FB.init({
            appId      : '394261217260358',
            status     : true, 
            cookie     : true,
            xfbml      : true,
            oauth      : true
          });
        };
        (function(d){
           var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
           js = d.createElement('script'); js.id = id; js.async = true;
           js.src = "//connect.facebook.net/en_US/all.js";
           d.getElementsByTagName('head')[0].appendChild(js);
         }(document));
      </script>
      login with facebook
      <fb:login-button show-faces="false" perms="publish_stream,email,user_location,offline_access" width="200" max-rows="1">login</fb:login-button>
    </body>
 </html>
放这条线

<fb:login-button show-faces="false" perms="publish_stream,email,user_location,offline_access" width="200" max-rows="1">login</fb:login-button>

上面和下面,它应该可以工作

在javascript控制台窗口中会收到哪些错误消息?