空白弹出与FB连接 [英] Blank popup with FB connect

查看:124
本文介绍了空白弹出与FB连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用JavaScript SDK实现了facebook连接。当我尝试验证的用户未登录到Facebook时,认证工作正常。但是当他已经登录到Facebook时,登录弹出窗口从不关闭。弹出窗口的URL以http://static.ak.fbcdn.net/connect/xd_proxy.php#cb = .....开头。

I've implemented the facebook connect using Javascript SDK. The authentication works fine when the user I'm trying to authenticate is not logged into facebook. But when he's already logged into facebook the login popup never closes. The url of the popup starts with "http://static.ak.fbcdn.net/connect/xd_proxy.php#cb=....."

发生在Firefox 3.5和Chrome上。
任何建议?

This happens both on Firefox 3.5 and on Chrome. Any suggestions? Do I need to set any extra parameters while connecting to Facebook?

推荐答案

我今天遇到同样的错误,我的年份旧的实现。我已经将channelUrl标签添加到FB.Init(),没有任何运气;所以我从头开始使用js sdk,oauth2启用登录过程:一些小小的变化,一切都开始重新工作了。我也通过Facebook调试工具运行我的页面,它也提出了一些改变。

I've encountered the same error today, with my year old implementation. I've added the channelUrl tag to FB.Init(), without any luck; so I started the login procedure from scratch with the js sdk, oauth2 enabled: with some minor changes, everything started to work misteriously again. I've run my pages through the Facebook debug tool as well, it suggested some changes as well.

总结一下:基本上,如果Facebook Connect停止工作,升级你的代码根据最新的文档可用。

To sum up: basically, if Facebook Connect stops working, upgrade your code according to the latest documentation avaliable.

这篇关于空白弹出与FB连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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