Facebook still “logged in”after logout

So this was a bit of a pain. Basically I’ve got a web app, and I want to use the facebook API via server-side PHP for authentication. So I started with an example from the documentation.

It’s a fairly basic demo – if the user is not logged in, it shows the login URL. If they are logged in, it displays their name (presumably to show that they really are logged in). I tweaked it to also show the logout URL, if someone’s logged in.

Trouble is, when you are logged in and you click the logout URL, you’re still logged in. Continue reading “Facebook still “logged in”after logout”

Facebook still “logged in”after logout