how to fix Facebook JSDK that sometimes loads twice, once, or doesnt load at all?

Posted by user1108310 on Stack Overflow See other posts from Stack Overflow or by user1108310
Published on 2012-06-12T22:36:45Z Indexed on 2012/06/12 22:39 UTC
Read the original article Hit count: 283

Im using facebook javaSDK for my website and I have a weird problem. When I load the website with "internet explorer" it always runs fine. When I load the website with firefox it always loads TWICE, and when I use chrome the JSDK sometimes loads once and sometimes not loads at all , giving me the error "Uncaught ReferenceError: FB is not defined ". I tried using asynchronous loading for the SDK but still the same problem. btw I have firebug on firefox, could that be the reason the JSDK loads twice?

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about facebook