I\'ve this message in my console
FB.getLoginStatus() called before calling FB.init().
My code
You need to call FB.init function before the calling fb login status function
FB.init