XD代理Facebook

XD代理Facebook,facebook,Facebook,我正在使用facebook connect登录我的网站 在我的html页面中,我编写了以下代码: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Test JOpenID </title> </head> <body> <

我正在使用facebook connect登录我的网站

在我的html页面中,我编写了以下代码:

<html>    
<head>    
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />      
<title>Test JOpenID  </title>    
</head>    
<body>
  <div id="fb-root"></div>          
<script src="http://connect.facebook.net/en_US/all.js"></script>          
<script>

     FB.init({
        appId:'180065668680582', 
        cookie:true,
        status: true, 
        xfbml:true
     });

</script>      
<fb:login-button perms="email,user_checkins">
     Login with Facebook
  </fb:login-button>

</body>
</html>

测试乔培尼
FB.init({
appId:'180065668680582',
曲奇:是的,
状态:正确,
xfbml:对
});
使用Facebook登录
因此,当我点击“使用Facebook登录”按钮时,会弹出一个窗口,要求填写用户名和密码。到现在为止,一切正常。当我单击“允许”按钮进入目标网站时,问题仍然存在。一个弹出窗口同时出现和消失。窗口的till是XD proxy,其url为:

根据我的要求,我需要在允许facebook后允许我进入我已经注册的目标网站。但它只在一扇窗户上,瞬间消失

问题是什么以及如何解决请详细告诉我

谢谢

不要使用

FB.init({ apiKey: 'API_KEY' });
和使用

FB.init({ appId: 'APP_ID', status: true, cookie: true, xfbml: true });

要在Opera中修复它,只需在FB.init()之后添加以下命令:


我在IE9中也遇到过同样的问题,这似乎源于升级到Flash Player 10。自从找到一个覆盖它的盖子后,我就对修复它失去了希望。但是已经贴出了,帮我修好了。在我的站点主控中的JavaScript中,我删除了这些行

    FB.UIServer.setLoadedNode = function (a, b) { 
    //HACK: http://bugs.developers.facebook.net/show_bug.cgi?id=20168
    FB.UIServer._loadedNodes[a.id] = b;
    };

现在它开始工作了。(注意,我没有检查IE8发布这些行是否旨在克服退货。)

您是如何解决此问题的?我是通过facebook的一个移动网站了解到这一点的,该网站也有类似的问题(不过只在一种手机上)
    FB.UIServer.setLoadedNode = function (a, b) { 
    //HACK: http://bugs.developers.facebook.net/show_bug.cgi?id=20168
    FB.UIServer._loadedNodes[a.id] = b;
    };