Plugin Support
Laszlo
(@laszloszalvak)
Hi @dominic1211
Nextend Social Login is a simple social login plugin, the log out must be handled by your site itself. So if there is a need for logging out the user from both your site and Facebook that must be done via custom coding.
Actually if the user want to logout from Facebook it self that should be done on the official Facebook site, not on your own site.
Just imagine the following situation:
-a user who was already logged into Facebook visits your site and connects with Facebook
-the user decides to log out on your site
In this case the user would also be logged out from Facebook, which would violate the users’ expectations. But if this is the behavior what you would like to achieve, then you will could to integrate the JavaScript SDK of Facebook and trigger its logout function on your logout button as you see here:
https://developers.facebook.com/docs/facebook-login/web/#logout
But logging out a Facebook account on a third party site/application is a bad practice according to Facebook as well:
“Having a logout control inside a game that executes a Facebook-wide logout will violate users’ expectations. Instead, allow users to control their logged-in status on Facebook itself.”
-Source: https://developers.facebook.com/docs/unity/reference/current/FB.Logout
Best regards,
Laszlo.
-
This reply was modified 6 years, 4 months ago by
Laszlo.