Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout doesn't work #71

Open
silvio-terzi opened this issue Apr 3, 2015 · 1 comment
Open

Logout doesn't work #71

silvio-terzi opened this issue Apr 3, 2015 · 1 comment

Comments

@silvio-terzi
Copy link

The logout method doesn't really disconnect the user from Facebook. After logout, when I try to login again immediately, it doesn't open the login mask; instead open a page that said that you've just authorized the app (sometimes, or doesn't open a page at all), for the user just disconnected. If I want to change the user, I can't.
To login I've used the WebView only option.

@brainoffline
Copy link

This is a solution for WinRT

            // Clear out any facebook cookies
            var myFilter = new Windows.Web.Http.Filters.HttpBaseProtocolFilter();
            var cookieManager = myFilter.CookieManager;
            var myCookieJar = cookieManager.GetCookies(new Uri("https://facebook.com"));
            foreach (var cookie in myCookieJar)
                cookieManager.DeleteCookie(cookie);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants