Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook login in mobile browser via Facebook app [closed]

I have a Node.js web app with Facebook login (using PassportJS, OAuth 2.0). The login works in the browser (Chrome 50) on desktop.

In the browser on mobile (Android, iOS), the login also works but it asks the user to login to Facebook in their browser, even if they are already logged into their Facebook App.

For the browser on mobile case, is it possible to somehow authenticate the user via the Facebook App (if installed) rather than Facebook in the browser?

like image 925
Alexey Feigin Avatar asked Jun 06 '16 08:06

Alexey Feigin


1 Answers

Somwhere here already was answer, that due to facebook policy, now you can only use browser for auth in mobile apps.

I'm not sure about android. Here answer for iOS: https://stackoverflow.com/a/32621036/5475238

like image 113
Shadow Of Avatar answered Nov 12 '22 04:11

Shadow Of



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!