When should I close Facebook session (Android)?

本小妞迷上赌 提交于 2019-12-13 16:40:09

问题


In my android app, I have 3 login options. Google+, Facebook, and my own login option. I've implemented all 3.

I've implemented Facebook login via their v3.0 sdk. I open a Session, get an Access Token and the user's id. I then pass these 2 values to my api and log them in.

After getting those 2 values, I have no other use for facebook and I want to close the Session. Is there any reason I should leave it open?

I have a similar question for GoogleApiClient here.

来源:https://stackoverflow.com/questions/30044339/when-should-i-close-facebook-session-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!