facebookarchive / php-graph-sdk

The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login. https://developers.facebook.com/docs/php
Other
3.17k stars 1.95k forks source link

getLogoutUrl broken again? #1263

Open dwhalenenr opened 2 years ago

dwhalenenr commented 2 years ago

Hi All.

I'm calling $helper->getLogoutUrl($access_token, $redirectUrl); and it doesn't log me out of facebook. I know it's a valid token and the redirect actually works, but my user stays logged-in to facebook no matter what.

Is there something specific beyond the redirect that I need to do? I need to log my user out of facebook so that they can switch to a different facebook user before using my application. I do not use facebook to authenticate in my app.

TIA