How to authenticate user using facebook native app during login with facebook JS SDK - facebook

Our website is using Login with facebook feature and working fine for desktop and mobile browser.The requirement is , on a mobile device if facebook app is installed then authenticate using facebook app rather than mobile browser
FB Community question link.

I think for doing this you will have to use facebook sdk for android so that you can use the native facebook authentication form
This link may be useful :
https://developers.facebook.com/docs/facebook-login/android

Related

Share or not to share app id facebook to use facebook login in different apps

We've a website without facebook login and we've the correspondent mobile apps for these website (Android and iOS).
Now, we will build a new feature as a standalone app and for this new feature we would like to use social login (Facebook for now). In the future, this feature will also be available on the website (using either the facebook login or the login from the website).
Should we share the same app id from facebook between these three applications (Website, Mobile app, NewFeatureStandAloneApp)?

Facebook login from smart TV

Is is possible in facebook to open access for OAuth without opening an iframe. I need this to enable facebook login from my smart tv application.
No it is not. Unfortunately the Facebook App on Samsung SmartTVs is using a deprecated FB API no longer available for new 3rd party users.

Login with Facebook using SocialFramework

I want perform a login using Facebook credential. This is possible using Facebook SDK with this step:
Create a Facebook App on facebook.developer.com
Import Facebook SDK in Xcode
Use Facebook SDK to perform login (this action open Facebook application on iPhone, and after it re-opens my application)
I would avoid open Facebook app and perform login inside my app, like Pinterest.
Using SocialFramework is it possible ?
Thanks
Yes, it is possible. The latest Facebook SDK logs in using the FB account defined in system settings if available and falls back to Facebook app and/or website if not.

Possible to use the native facebook app to log into a mobile html5 app? On the iPhone

I'm trying to have my html5 site open the native iPhone Facebook app to authenticate users.
The site currently uses OAuth 2 on the server side - so it redirects everyone to the web version of Facebook. This is a problem because I dont want to force people to log in on a tiny keyboard.
Can you get the html5 app to open in Safari and authenticate through the native FB app?
If this is not possible with Facebook is it possible with Twitter apps? What is the experience like on android?
I do know that you can authenticate between a native iPhone app and the native Facebook app.
Yes you can do this just use the boilerplate code in facebook developers section of the site and following the guide exactly... I have tried this and it worked for me you just need to find a way to connect your oAuth to this...

facebook authorization dialog style

in Facebook official website, iphone authorization dialog is
while when I work follow its steps(iOS for iPhone/iPad): http://developers.facebook.com/docs/guides/mobile/
I got the authorization dialog as follows which is the same as Mobile Web.
Who can tell me why?
How can I get authorization dialog as the iphone one in Facebook official website?
On the latest versions of iOS on the device and if Facebook app is installed on the device there will be login dialog. If Facebook app is not installed, then it will open Safari to obtain the access token. This is by design of Facebook iOS SDK. You can patch the SDK if you don't want Safari in in any case.
see authorizeWithFBAppAuth method in Facebook.m
hope this helps