How to tell an iphone app user what will happen before opening Facebook login dialogue

Posted by docno on Stack Overflow See other posts from Stack Overflow or by docno
Published on 2012-11-24T17:02:29Z Indexed on 2012/11/24 17:03 UTC
Read the original article Hit count: 158

Filed under:
|

Apps that allow users to log in over a 3rd party authentication provider (e.g. Facebook, Google, Twoitter,...) should open a browser window to let the user authenticate against the provider. That means, at some point, an app is backgrounded and the user interacts with a browser window. Just before the browser opens, it's a recommended pratctice to inform the user about what will happen (see e.g. Getting Started with OAuth 2.0 - O'Reilly), let's say an alert window with something like "you will leave now the XYZ app and a browser window will open where you can enter your credentials safely".

My question: How can that be done if I use the facebook SDK for ios? Looking at the SDK, there seem to be no notifications and no designated states that would allow me to detect that the sdk is about to background my app and about to opening either Safari or the Facebook app.

© Stack Overflow or respective owner

Related posts about oauth-2.0

Related posts about facebook-ios-sdk