The old JS SDK had a function called FB.ensureInit. The new SDK does not seem to have such function... how can I ensure that I do not make api calls until it is fully initia
Another way to check if FB has initialized is by using the following code:
ns.FBInitialized = function () { return typeof (FB) != 'undefined' && window.fbAsyncInit.hasRun; };
Thus in your page ready event you could check ns.FBInitialized and defer the event to later phase by using setTimeOut.