mysociety / fixmytransport

A site focussed on connecting and empowering people who share transport problems of different kinds.
http://www.mysociety.org/2010/03/15/mysocietys-next-12-months-fixmytransport-and-project-fosbury/
Other
37 stars 10 forks source link

console error: "FB.getLoginStatus() called before calling FB.init()." #714

Open mhl opened 11 years ago

mhl commented 11 years ago

I very frequently see this log message in the console:

FB.getLoginStatus() called before calling FB.init().

It would be great to get rid of this. It seems that this is due to calling FB.init synchronously instead of via fbAsyncInit, as described here:

https://developers.facebook.com/docs/reference/javascript/