FacebookClientPlugin icon indicating copy to clipboard operation
FacebookClientPlugin copied to clipboard

CrossFacebookClient.Current.Logout() is not working.

Open srdmnc opened this issue 5 years ago • 9 comments

Bug Information

Version Number of Plugin: 2.2.1 Tested On: Xiaomi Redmi Mi 9T Version of VS: VS 2019 Version of Xamarin: 4

Steps to reproduce the Behavior

  1. Log in using any login method
  2. Logout using CrossFacebookClient.Current.Logout() method.

Expected Behavior

The logged Facebook account will be logged out and I will be able to log in again - the Facebook dialog will pop-up and I can confirm - if I want to "Continue as" .

Actual Behavior

The logged Facebook account remained and logging in won't open the Facebook login dialog, it will automatically login to the supposed-to-be-logged-out account.

srdmnc avatar Jan 14 '20 01:01 srdmnc

Might be related to #59

srdmnc avatar Jan 15 '20 01:01 srdmnc

Any update on this?

srdmnc avatar Jan 20 '20 00:01 srdmnc

Any news ion this issue? Is there a workarround or bug fix coming?

dalton5 avatar Mar 01 '20 16:03 dalton5

I've been looking at this for some days now but I can't find the problem. Somebody has shown any progress?

titoleru avatar May 17 '20 21:05 titoleru

Any news about this bug? I'm also facing the same issue :(

sahadevgupta avatar Jul 24 '20 16:07 sahadevgupta

I have the same, any updates when it will be resolved? @rdelrosario

Alex-Dobrynin avatar Sep 24 '20 12:09 Alex-Dobrynin

Hi any news on this issue?

dalton5 avatar Apr 18 '21 23:04 dalton5

Hi @dalton5 , a workaround which worked for me only on Android : ask the user to open Web browser on device, go to facebook.com and disconnect from active session. If you have a workaround for iOS, I'd be interested to know.

Of course, this is sadly not user friendly at all. Hi @rdelrosario , do you have any update on this issue please ?

Kapusch avatar Apr 19 '21 19:04 Kapusch

I found this case related I think which could help

https://github.com/Azure-Samples/active-directory-xamarin-native-v2/issues/86

and this https://stackoverflow.com/questions/12909332/how-to-logout-of-an-application-where-i-used-oauth2-to-login-with-google

dalton5 avatar Apr 19 '21 22:04 dalton5