Neal Ahluvalia Neal Ahluvalia - 1 year ago 334
Android Question

How to logout from twitter using Fabric Sdk for android

I used


This does not work,next time when i logIn using twitter, it opens the dialog with browser,takes previous login and just asks "Allow app to fetch your data?", but doesn't ask for username and password.Any help will be appreciated.

Answer Source

I finally found a solution for this situation.

Accidently I found a method in Twitter SDK for Android

        CookieManager cookieManager = CookieManager.getInstance();

This was very simple, it took me about half hour to find it.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download