我有一个使用Facebook Connect的移动网站来验证用户身份。 Opera Mobile遇到了问题登录问题。我有下面的JavaScript来检测登录状态,但只有在Opera Mobile中,回调不会触发。有没有人遇到过这个问题?FB.Login不能在Opera Mobile中工作
window.fbAsyncInit = function() {
FB.init({
appId: 'xxxx',
channelUrl: 'http://xxxx/channel.html',
status: true,
cookie: true,
xfbml: true
});
FB.Event.subscribe('auth.statusChange', handleStatusChange);
};
function handleStatusChange(response) { // --> NOT FIRE
if (response.authResponse) {
//Login, show Logout button
}
else {
//Show Login button
}
}
谢谢。我将尝试按照您所提到的顺序重新安排订单。 – kevin
嗨hallvors,我试过你的建议,但没有运气。 Facebook官方样本也出现这种情况。它将无法使用Opera移动设备登录。 www.facebookmobileweb.com/hackbook/ – kevin
我们将尝试调查此问题。 – hallvors