FB.login产生刷新错误
|
我正在将fbAsyncInit方法用于位于“粉丝”页面标签中的iframe应用程序
<script>
window.fbAsyncInit = function() {
console.log(\'fb init\');
FB.init({
appId : 12345,
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};
(function() {
var e = document.createElement(\'script\');
e.src = document.location.protocol + \'//connect.facebook.net/en_US/all.js\';
e.async = true;
document.getElementById(\'fb-root\').appendChild(e);
}());
</script>
当我调用注册函数来检查权限时(在页面加载后用户单击按钮时会发生这种情况)
register = function(){
console.log(\'starting login\');
FB.login(function(response) {
if (response.session) {
console.log(response.session);
} else {
console.log(\'Did not authorize\');
}
}, {perms:\'email,publish_stream\'});
};
Facebook从以下位置加载弹出窗口:http://static.ak.fbcdn.net/connect/xd_proxy.php?version=3#cb= {此处为会话字符串变量和其他垃圾}
仅在IE中产生Flash错误:
Error #2044: Unhandled StatusEvent:. level=error, code=
我的网站没有闪存
点击继续/关闭有时可能会冻结IE,导致我结束进程,而其他时候弹出窗口消失了
没有找到相关结果
已邀请:
3 个回复
磐去裸猜饲
:
在您的域根文件夹中,创建“ 5”,然后仅将以下代码放入其中:
现在,Facebook上的Flash可以正常工作。
敦肌
课刊灭似