Page 1 of 1

$cordovaFacebook and Appery.User.loginFB()

Posted: Thu Apr 28, 2016 7:59 am
by BananaGator

As the AngularJS Appery projects do not include the option to add a Plugin service for Facebook, I found $cordovaFacebook, which is the official Facebook phonegap plugin: http://ngcordova.com/docs/plugins/fac...

Image

Using this plugin, would I still need to use the Appery public testing URL for the "Site URL" in the FB Dev settting, as the Appery JQM tutorial instructs? I am guessing the other Facebook setup rules from the same tutorial would also apply.

If this would not work, then could someone please point me in the direction to download the compatible plugin and/or settings set to use with Appery?

----------------------------------------

For an actual login method (not just for making posts), is it possible to easily reference Appery.User.loginFB()? Skimming over the tutorial, it seems no additional phonegap plugins would need to be uploaded for this method.

Reference: https://devcenter.appery.io/documenta...

Image


$cordovaFacebook and Appery.User.loginFB()

Posted: Thu Apr 28, 2016 11:41 am
by Serhii Kulibaba

Hello,

1) Yes, please use the same way for that plugin (URL of the Appery.io test link)

2) You are right, it is possible to use Appery.User.loginFB() to login to the app


$cordovaFacebook and Appery.User.loginFB()

Posted: Thu Apr 28, 2016 10:26 pm
by BananaGator

Thank you for responding. I had attempted to build with the Facebook plugin, but the builder returned an error for an invalid resource for GCM, which seems very unrelated. I built again with the plugin unchecked, and it was fine. It seems I need to find an alternative plugin.


$cordovaFacebook and Appery.User.loginFB()

Posted: Thu Sep 29, 2016 12:54 pm
by Sam8264500

Hi

Did you find any solution? I have been looking to do the same in my app but couldn't get this plugin to work.

Thanks