Can someone point me to a plugin or a code snippet to implement both Facebook and Google login in my Ionic + Phonegap Build app ?
I would like this feature to be able to log from the native facebook or google+ apps that the user has already installed on his device, so he doesn’t need to retype his id+password. But, if these apps are not installed, the code must fallback on the normal login process.
My app communicate with a cloudant database using pouchDB in case you need this information.
(I have to use Phonegap Build because I don’t work on a mac).
This uses the native Facebook app, but it’s using the ngCordova plugin. The same plugin is available on PGB though: https://build.phonegap.com/plugins/1246 so obviously you’ll have to use that but all the rest of the tutorial should be the same.
Hi, that error seems to be because facebookConnectPlugin is not present in the environment you are testing. Where are you testing the app? You should test it on a real device or in the emulator.
i also used one of these link for facebook login but whenever i try to login on my android device but it show error “Invalid hash key. the hash key +H9I4+vy46g8b… does not matched any stored hash key…” how to fix it