Friday, 15 March 2013

android - Facebook SDK 3.0 - how to force AUTH dialog? -



android - Facebook SDK 3.0 - how to force AUTH dialog? -

i upgrading facebook android sdk 2.0 facebook android sdk 3.0 , looking replacement next code:

facebook.authorize(activity, facebook_permissions, facebook.force_dialog_auth, facebookdialoglistener);

so in facebook android sdk 2.0 there flag force_dialog_auth forced facebook login dialog show if user had valid facebook session in facebook app on device. flag deprecated , haven't found hints on how can replace it.

any suggestions?

p.s. know issue connected single-sign on (sso) disabling sso not option.

ok, reply is:

facebookopenrequest.setloginbehavior(sessionloginbehavior.suppress_sso);

android facebook

No comments:

Post a Comment