I'm writing one wp8 application which uses the facebook c# sdk. Everything is going well but one thing won't work (and it drive me crazy) : I can not log out the user.
I tried:
var logoutParameters = new Dictionary<string, object>
{
{ "next", loginUrl }
};
var logoutUrl = _facebookClient.GetLogoutUrl(logoutParameters);
also,
var logoutUrl = fb.GetLogoutUrl(new {access_token = "...", next = "...." });
and,
https://www.facebook.com/logout.php?next=[redirect_uri]&access_token=[access_token]
Regards.
Within WP8 you can clear the cookies with WebBrowser.ClearCockiesAsync()
Maybe this link will help:
http://www.developer.nokia.com/Community/Wiki/Integrate_Facebook_to_Your_Windows_Phone_Application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With