provides a public logout function to ensure a user gets logged out of fa... #2

Closed
wants to merge 1 commit into
from

3 participants

@mikesherov

...cebook and the connected website.

@mikesherov

I signed the document listed here: https://developers.facebook.com/opensource/cla

@ThomasWunderlich

There's already a login/logout function, take a look at example.php

@mikesherov

@ThomasWunderlich that doesn't also clear the session data in PHP. If the user has granted offline_access (which I know is now deprecated), they aren't really ever logged out. Try it.

The correct way to log someone out fully is remove the session data from your own server, then direct the user to logout of facebook as well.

@antoineguiral

and remove the cookie too, no?

@mikesherov mikesherov closed this Nov 4, 2012
@uestla uestla added a commit that referenced this pull request Jan 24, 2013
@uestla uestla coding standards #2 e3bfd3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment