After we ran into this problem yesterday, I tracked it to a clear conflict with the JS log wrapper included in the HTML5 Boilerplate script.js file. In particular, โitโs safe to use the consoleโ always. โAfter commenting, this led to an FB lib error, and my application displayed correctly.
I did not delve into the conflict, but here is a fragment. If you use something like this on your page, it might be worth exploring.
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try {console.log();return window.console;}catch(err){return window.console={};}})());
It is probably no coincidence that FB has its own error logger with this.
Brian source share