usando facebook connect de que otras maneras puedo cerrar session en facebook
se puede con la api php?.
<a href="#" onclick="FB.Connect.logoutAndRedirect('pagina_dest ino.php')">Logout</a>
| |||
de que maneras puedo cerrar session de facebook usando facebook connect de que otras maneras puedo cerrar session en facebook se puede con la api php?. <a href="#" onclick="FB.Connect.logoutAndRedirect('pagina_dest ino.php')">Logout</a> |
| |||
Respuesta: de que maneras puedo cerrar session de facebook esto dice no entiendo muy bien [edit] Logging Out Users A user is considered logged in to your site if they are logged in to Facebook and have connected with your site. Because of this, logging a user out of your site involves logging them out of both your website and Facebook. This is known as single sign out. There are a number of ways you can log a user out of your site: You can use one of two JavaScript methods – either FB.Connect.logout or FB.Connect.logoutAndRedirect. These calls log the user out of both your site and Facebook. The latter method also redirects the user once the logout dialog closes. <a href="#" onclick="FB.Connect.logoutAndRedirect('/index.php')">Logout</a>If you're using XFBML to render the login button, you can use the optional autologoutlink attribute on fb:login-button, which changes the login button to display Logout when the user is logged in. If you're using the onclick handler in an HTML form log in users, you can log them out by calling the PHP logout method: logout($next);The next parameter is the function to call after the user logs out. |