I recently installed the app "mapstr" and when you choose Facebook login, you don't go through the Facebbok app, you just accept the permissions through a kind of alertView :
It's written in French and it says : "mapstr" wants to access your public profile and your friends list.
When I tap OK, I am just logged with Facebook : no app switching !
How do they do that ? (I am developping in Swift 2.0)
I'm Mapstr founder ;) It's a loginBehavior option in Facebook LoginManager (in iOS SDK) which is the "FBSDKLoginBehaviorSystemAccount" (you also have the app option and the web option) If a user has configure his face boo account on its iPhone, the SDK will use it, if not it will try the app, and then the web. The only drawback is that if the system account exists but is misconfigured it failed... Sebastien