Pergunta

I have iOS and Android apps built and working with the FB SDK, but I've only ever seen two Login Dialog styles: * Switch to the installed Facebook App for auth, and * Embedded WebView/Safari online auth.

Lots of other apps seem to achieve this using a simple, native popup dialog, and Facebook seem to indicate that this is still possible, as in the following image from https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/v2.0

Anyone know how to force or indicate a preference for the popup? A 48 hour search of the Net has no turned anything up that seems even vaguely current.

Thanks in advance.

Image at: https://scontent-lhr.xx.fbcdn.net/hphotos-prn1/l/t39.2178-6/851582_133467196842050_800025839_n.png (not enough rep points to post inline!)

Foi útil?

Solução

The minimal native popup dialogs are not supported in Login V2, which launched yesterday at f8 (there are a few exceptions). The SDKs will try to use the most optimal method of displaying the dialog, preferring to fast app switch to the Facebook app.

Outras dicas

For IOS If you download the FB-IOS SDK the sample app "HelloFacebookSample.xcodeproj uses the FBLoginViewclass which you can configure to what you want. Similar facilities should be available for Android.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top