Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Facebook JS SDK in web app to improve login flow #61

Open
lindydonna opened this issue May 26, 2016 · 2 comments
Open

Use the Facebook JS SDK in web app to improve login flow #61

lindydonna opened this issue May 26, 2016 · 2 comments

Comments

@lindydonna
Copy link
Contributor

The Facebook app shows this message when you first authorize: You are using a display type of 'page' in a small browser window or popup. For a better user experience, show this dialog with our JavaScript SDK without specifying an explicit display type. The SDK will choose the best display type for each environment. Alternatively, use display type 'popup' if you have special requirements precluding you from using the SDK. This message is only visible to developers of your application.

image

@ExperimentsAndIdeas
Copy link

Would love to have a sample that shows how to use the native FB SDK, instead of the JS SDK.

Reason is that it prevents credential prompting in iOS. (FB app, vs FB in settings, vs FB in browser/Safari)

@lindydonna
Copy link
Contributor Author

The mobile app uses the native Facebook SDK, but you have to set up your login flow on the server. See https://github.com/azure-appservice-samples/ContosoMoments#authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants