JavaScript-Facebook集成:window.fbAsyncInit不再触发

时间:2011-09-22 14:11:04

标签: javascript facebook fbconnect

我们使用fbAsnycInit挂钩初始化FB对象,该对象一直工作到上周。 现在钩子不再被调用了。 FF和IEs开发工具中的FireBug-Console中没有JS错误。正确分配了挂钩(根据调试输出。)

before UnityObject
before embedUnity
after embedUnity
window.fbAsyncInit will be assigned: [object Window] window.fbAsyncInit: undefined
window.fbAsyncInit has been assigned: [object Window] window.fbAsyncInit: function () { log("fbAsyncInit"); FB.init({appId: "143585412381528", status: true, cookie: true, xfbml: true}); log("FB.init finished"); FB.getLoginStatus(function (response) {if (response.session) {log("User already logged in");}

window.fbAsyncInit has been assigned 2
load all.js started
load all.js finished        
firstFrameCallback
before send message[object HTMLEmbedElement] uid undefined
after send message

你有什么想法如何找到原因?是否吞下了一些JS错误? all.js库有问题吗?

可以找到应用here

2012年3月8日更新:目前应用程序似乎正常工作。问题可能与Facebook提供的JS文件的旧版本有关?!

0 个答案:

没有答案