Apache Cordova Facebook Plugin Fail On Init - Android

I am currently creating an application that will use the Apache Cordova Facebook plugin to communicate and authenticate users.

It worked for me a month ago, and then I was nearing the end of development when I decided to switch to the latest version of Apache Cordova Facebook Plugin and Facebook SDK - now I can not make it work.

I'm not sure if Facebook has changed anything, or if Cordoba Facebook Connect has problems right now - I'm literally stuck :(

Here are the steps I'm taking and my results:

NOTE. I uninstalled all programs and SDKs from my computer every time before trying to fix any problems with the cross-version.

After the appearance of HelloWorld, errors appear:

  • Cordova Facebook Connect plugin fail on init
  • Cordova Facebook Connect plugin fail on auth.status

As I said - I tried to install manually and install the CLI, no one will work!

Other versions I tried:

  • Cordoba 3.3.0, 3.3.1, 3.4.0, 3.4.1
  • Facebook SDK 3.6, 3.7, 3.8, 3.9
  • Android Studio instead of Eclipse

This problem causes a serious delay in our development, and I have seen others on the Internet who have the same problem, but do not answer and do not answer.

Thanks for any help!

+7
android facebook cordova facebook-javascript-sdk
source share
2 answers

Have you tried setting a target for config.xml for Facebook SDK 3.8.0? <config-file target="res/xml/config.xml" parent="/*"> <feature name="org.apache.cordova.facebook.Connect"> <param name="android-package" value="org.apache.cordova.facebook.ConnectPlugin" /> </feature> </config-file>

+1
source share

As of 6/13/14, this is what works for me, so I outlined my steps on PasteBin. http://pastebin.com/WvQvqx6U

Basically, I just brought FacebookConnect back to 0.4.0.

0
source share

All Articles