This worked, so I'm not sure what went wrong. The user can log in to Facebook just fine. Logout problem.
I register the user by redirecting them to the exit to Facebook php script. $facebook->getLogoutUrl();
When a user clicks on this link, they exit the Facebook page. However, when they return to my site, I notice that the fb_ cookie still exists. The PHP SDK still returns fb user session details. The strange thing going to www.facebook.com shows that I have already logged out of Facebook.
What could be wrong here? Thanks, I'm at a standstill: (.
facebook oauth logout
Lyon
source share