can't log out of facebook from App

Posted by dezwald on Stack Overflow See other posts from Stack Overflow or by dezwald
Published on 2010-04-08T20:48:31Z Indexed on 2010/04/08 20:53 UTC
Read the original article Hit count: 351

I'm trying to logout of facebook from my app using the following code below, but i'm still logged in (and my alert does not execute)

any ideas?

FB_RequireFeatures(
  ["Api"],
  function(){

   FB.Facebook.init(api_key, channel_path);
   var api = FB.Facebook.apiClient;
   FB.Connect.logout(function(){alert("logged out!");})

  }
 );

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-connect