I load the facebook SDK like this:
(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/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));
So, I get this error:
FB.logout() called without an access token. all.js:54
How would I fix this? as its in the facebook SKD file?!
Try this code
Full instruction can find here