简体   繁体   中英

App login using facebook

Anybody know how to log in in app using native facebook app, without using login dialog? Please help. Using DEFAULT_AUTH_ACTIVITY_CODE doesn't help. I want that if facebook app is installed on device, facebook app login activity will be opening instead login dialog.

According to facebook sdk3.0 the first priority is given to native app.The native app takes care of the sso.

The login dialog is the fallback method if facebook app is abbsent.

If I understand correctly, you want your Android app to automatically login to Facebook 3.0 without displaying a login button to the user.

If this is the case, then this is what you are looking for:

Android - Facebook SDK 3 - How to login programmatically without LoginButton

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM