Reputation: 7170
i can't logout a user when it's connected through facebook connect. I'm using the facebook developer toolkit. Anyone know how to "disconnect" a user ?
Upvotes: 2
Views: 2160
Reputation: 15464
I use the javascript function FB.Connect.logoutAndRedirect; The redirect sends them to somewhere we can kill the session on our side.
Upvotes: 0
Reputation: 47726
There are functions to logout a user:
FB.Connect.logout
and
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.
You might want to checkout this thread as well:
How to log out users using Facebook Connect in PHP and Zend?
Upvotes: 3