http://www.washingtonpost.com/wp-dyn/content/article/2010/12/21/AR2010122100366.html
http://www.lahora.com.gt/notas.php?key=78376&fch=2010-12-21
'//connect.facebook.net/en_US/all.js'; --------------------------------------------------------------------------------
FB.init({ appId : 'YOUR APP ID', status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true}); FB.Event.subscribe('auth.sessionChange', function(response) { if (response.session) { // A user has logged in, and a new cookie has been saved } else { // The user has logged out, and the cookie has been cleared } });
0 comentarios:
Publicar un comentario