Hola la verdad estuve dando vueltas en la pagina de applicaciones de facebook y despues de leer, la verdad no se si me dejo mas confundido.
Tengo un website con un script para hacer login. Pero cuando hace login el status del boton no cambia, porque??
Estoy usando este:
Código PHP:
<div id="fb-root"><fb:login-button></div> //login button..
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '303254209698031', // App ID
channelUrl : '//WWW.thechicmagazine.com/channel.html', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
oauth : true, // enable OAuth 2.0
xfbml : true // parse XFBML
});
// Additional initialization code here
};
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>