JavaScript-Facebook-integration: window.fbAsyncInit no longer firing
We use the fbAsnycInit hook to init the FB object, which was working till last week. Now the hook does not get called any longer. There are no JS errors in the FireBug-Console in FF and the IEs Development tools. The hook is assigned correctly (according to debug output.)
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
Do you have any ideas how to开发者_如何学Python go on finding the cause? Are there some JS errors swallowed? The all.js library with problems?
The appliation can be found here.
UPDATE March, 8th 2012: At the moment the application seeems to work. Problems may be related to older revisions of Facebook supplied JS-files?!
精彩评论