Closed shamruk closed 10 years ago
That's already the case actually...
On Tue, Nov 12, 2013 at 12:35 PM, shamruk notifications@github.com wrote:
It would be great to have a possibility to login to FB via FB app. 60% on all mobile traffic goes through FB app. So it should be No.1 method to login, not via iOS SDK and web should be plan B.
Reply to this email directly or view it on GitHubhttps://github.com/freshplanet/ANE-Facebook/issues/107 .
Sorry, but I neither can find the corresponding code (I see only FBSessionLoginBehaviorUseSystemAccountIfPresent and FBSessionLoginBehaviorWithFallbackToWebView) nor can reproduce FB-app login on iOS device (I logout from iOS->setting->Facebook, install the FB app, login, open my app, see web form instead of FB App).
In the master branch, this is achieved by calling openSessionWithPermissions instead of openSessionWithReadPermissions.
In the feature/android-review branch (which will be merged in master soon), openSessionWithPermissions has been removed and an optional Boolean parameter has been added to openSessionWithReadPermissions to choose wether you want the system login or not.
If you see the web form in your app after following these instructions, it
probably means your URL schemes are not properly configured. Remember your
app descriptor should contain an URL scheme "fb
On Wed, Nov 13, 2013 at 4:04 AM, shamruk notifications@github.com wrote:
Sorry, but I neither can find the corresponding code (I see only FBSessionLoginBehaviorUseSystemAccountIfPresent and FBSessionLoginBehaviorWithFallbackToWebView) nor can reproduce FB-app login on iOS device (I logout from iOS->setting->Facebook, install the FB app, login, open my app, see web form instead of FB App).
— Reply to this email directly or view it on GitHubhttps://github.com/freshplanet/ANE-Facebook/issues/107#issuecomment-28378537 .
The feature/android-review branch has been merge in master.
It would be great to have a possibility to login to FB via FB app. 60% on all mobile traffic goes through FB app. So it should be №1 method to login, not via iOS SDK and web should be plan B.
PS Thanks for your work