2013年2月18日 星期一

Facebook Android SDK login

Facebook Android SDK API provides single sign on (SSO), that means if has logged through Facebook app session, so you needn't sign in Facebook every time.

_fbAPI.authorize(this, new String[] { "email" }, Facebook.FORCE_DIALOG_AUTH, new DialogListener() );

It will pop-up Facebook sign in dialog every time, but it may disturb users and they could not like this way.

http://stackoverflow.com/questions/8795985/how-logout-works-in-facebook-sdk-android
http://stackoverflow.com/questions/7679875/is-there-a-way-to-log-out-via-facebook-api-on-android-if-you-have-the-facebook-a


沒有留言:

張貼留言