facebook like button not displaying :: FB.getLoginStatus() called before calling FB.init()
问题 I just want a basic facebook like button on my site. I follow the instructions per facebooks site (http://developers.facebook.com/docs/reference/plugins/like/). I tried the HTML5 , XFBML , and iFrame ways, no joy on either. So I thought maybe it's something with my site interfering. So I created a bare-bones html page like below and it still gives me the FB.getLoginStatus() called before calling FB.init() error. <html> <body> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs