Redirect FB登录对话框多次打开,不重定向

Redirect FB登录对话框多次打开,不重定向,redirect,oauth,dialog,popup,facebook-login,Redirect,Oauth,Dialog,Popup,Facebook Login,我对登录对话框的奇怪行为有问题登录对话框正在打开多次,而不是关闭。。。最后,它会让用户登录一段时间。似乎重定向有问题。我认为在推出“打破二月的变化”之前,一切都在酝酿之中。你能从传递的url中看到什么吗??非常感谢您的帮助 init({appId:'',状态:true,cookie:true,xfbml:true,oauth:true}); 订阅('auth.login',函数(响应){facebookLogin('',,响应);}); getLoginStatus(函数(响应){if(re

我对登录对话框的奇怪行为有问题登录对话框正在打开多次,而不是关闭。。。最后,它会让用户登录一段时间。似乎重定向有问题。我认为在推出“打破二月的变化”之前,一切都在酝酿之中。你能从传递的url中看到什么吗??非常感谢您的帮助


init({appId:'',状态:true,cookie:true,xfbml:true,oauth:true});
订阅('auth.login',函数(响应){facebookLogin('',,响应);});
getLoginStatus(函数(响应){if(response.authResponse.userId){$.get('/author/canfblogin',{id:response.authResponse.userId},函数(data,textStatus){if(data.isOk==true){facebookLogin('',response);},'json');});

显示对话框的代码是什么?你用什么语言工作?添加了代码。。。地点是捷克。感谢您发现“auth.login”导致了这种行为。。。仍然无法实现以前的自动登录行为这发生在我身上,因为我在浏览器中打开了多个选项卡。=,使用相同的FB auth链接,不确定为什么会出现这种情况。
  <script>
    FB.init({ appId: '<?php echo $this->facebook->getAppId(); ?>', status: true, cookie: true, xfbml: true, oauth: true });
        FB.Event.subscribe('auth.login', function(response) { facebookLogin('<?php echo $this->web_url; ?>', '', response); });
FB.getLoginStatus(function(response) { if (response.authResponse.userId) { $.get('/author/canfblogin', {id: response.authResponse.userId}, function(data, textStatus) { if(data.isOk == true) { facebookLogin('<?php echo $this->web_url; ?>', '', response); } }, 'json'); } });

    </script>