7

I'm currently building an app the will be using the Apache Cordova Facebook Plugin to communicate and authenticate users.

I had it working about a month ago, and then I was getting close to the end of development when I decided to upgrade to the newest version of Apache Cordova Facebook Plugin and Facebook SDK - now I cannot get it functioning.

I'm not sure if Facebook has changed something, or if Cordova Facebook Connect plugin has issues now - I am literally stuck :(

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

NOTE: I have deleted all programs and SDK's from my computer each time before attempting this to eliminate any cross version issues.

Once HelloWorld opens errors comes up:

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

Like I said - I have tried manual installs and CLI installs, none will work!

Other versions that I have tried:

  • Cordova 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 issue is causing major delay in our development and I have seen others online that are having the same problem, but no replies or answers.

Thanks for any help!

Papa Wheelz
  • 180
  • 4
  • 16

2 Answers2

1

Did you try fixing the 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>

cggaurav
  • 565
  • 5
  • 20
0

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

Basically I just reverted FacebookConnect back to 0.4.0.

Cow
  • 764
  • 5
  • 10
  • 25