Ionic with Facebook login - using Parse.com + Phonegap Build

Is there anyone using this combination as well? i find many are talking about the Cordova FB plugin but not the phonegap-build one

I have integrated Parse.com with my ionic app and successfully login Facebook users through CHROME BROWSER, then I try it on mobile by adding Android platform in my FB app setting and add the below lines to my config.xml:

<gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.4.0">
        <param name="APP_ID" value="my app id" />
        <param name="APP_NAME" value="my app namespace" />
</gap:plugin>

Then build it with phonegap-build, NOTHING HAPPENS when I click the login button, not even an error message in the console, just no response at all.

I wonder if there’re any steps I’m missing?

2 Likes