开发者

How can I login as a different user in Facebook login dialog

I managed to develop an android application to read facebook updates of the user开发者_开发技巧. I am using Facebook dialog for Authentication.

Once I have authenticated the user and allowed the application to access the account, the dialog quits and it is able to read the status. Perfect.

But I am not able to login as a different user. In all the further loads of dialog, it shows nothing. Seems like, it is authenticating the same user again and disappears.

How can I bring the content of the dialog visible again?


Finally I found the solution, which I should have found hours before.

Facebook has its own logout call which will clear the cache and cookie.

facebook.logout(getBaseContext()); did the trick.

I know the qn was silly. Still, let it help someone else come up with the same doubt. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜