Ionic facebook login automatically with ngCordova.plugins.oauth

456 views Asked by At

I'm using Ionic framework and ngCordova.plugins.oauth plugin. Is there a way to login to facebook with $cordovaOauth automatically without asking for user and password when the facebook app is installed on the device?

If not, is there other way to do it on Ionic?

1

There are 1 answers

0
Matias Araya On BEST ANSWER

Yes, there are but not from $cordovaOauth. Here is the plugin https://github.com/Wizcorp/phonegap-facebook-plugin. You have to follow the instruction there to install (I am using this in ionic project and is working great).