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.
Asked
Active
Viewed 256 times
1
-
If you use Facebook in your app for the first time the login dialog will always been shown. Only if you (or the user) have logged in before, this session will be recognized and used (without showing the dialog again). – PKeidel Jun 20 '13 at 19:44
-
The SDK uses the native facebook app for SSO by default if it's available. What behavior are you seeing? Can you share your code and repro steps? – Ming Li Jun 25 '13 at 21:03
2 Answers
1
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.
amalBit
- 12,041
- 6
- 77
- 94
0
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
-
Not really. I want that if facebook app is installed on device, facebook app login activity will be opening instead login dialog. – Natali Jun 21 '13 at 06:35