Closed bpeng closed 11 years ago
Hej, I have the same problem. I made a disconnect button that forces the app to clear its cache/data but it's not a solution as it only works once for me.
Using IDEA's debugger I saw that the disconnect function in the FacebookActivity doesn't remove the connection from the connection repository. I'm also interested in a solution to this problem.
The Facebook session cookie was being saved in the webview. Now clearing all cookies when the activity resumes, so Facebook won't automatically reauthorize the app, forcing the user to login in again.
After Facebook connection is disconnected, and the Connect option is shown, when the item option clicked, it automatically connect to Facebook without asking for user name and password, and to totally disconnect , we have to clear cache/data from app management.
It seems onPageStarted methed of FacebookOAuthWebViewClient class is called again and again until uriFragment is obtained. How can we disconnect totally?