I've this message in my console
FB.getLoginStatus() called before calling FB.init().
My code
<div id="fb-root"></div>
<script>
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1";
ref.parentNode.insertBefore(js, ref);
}(document));
</script>
<div class="fb-like" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div>
I don't understand why. I've only one call of this facebook like plugin in all my website.
question from:https://stackoverflow.com/questions/12810018/fb-getloginstatus-called-before-calling-fb-init