Phonegap cordova 2.3.0 phonegap-facebook-plugin

I am trying to configure a plugin to connect facebook to my ios mobile applications, I followed the steps in the link below

https://github.com/phonegap/phonegap-facebook-plugin

and completed it 100%, but when I run the application, it shows this error in the console

2013-04-24 13:43:10.009 ShoBingg[2538:19a03] CDVPlugin class FacebookConnectPlugin (pluginName: org.apache.cordova.facebook.Connect) does not exist.
2013-04-24 13:43:10.010 ShoBingg[2538:19a03] ERROR: Plugin 'org.apache.cordova.facebook.Connect' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2013-04-24 13:43:10.010 ShoBingg[2538:19a03] -[CDVCommandQueue executePending] [Line 103] FAILED pluginJSON = ["org.apache.cordova.facebook.Connect467591405","org.apache.cordova.facebook.Connect","init",["427370550688587"]]
2013-04-24 13:43:10.010 ShoBingg[2538:19a03] CDVPlugin class FacebookConnectPlugin (pluginName: org.apache.cordova.facebook.Connect) does not exist.
2013-04-24 13:43:10.010 ShoBingg[2538:19a03] ERROR: Plugin 'org.apache.cordova.facebook.Connect' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2013-04-24 13:43:10.010 ShoBingg[2538:19a03] -[CDVCommandQueue executePending] [Line 103] FAILED pluginJSON = ["org.apache.cordova.facebook.Connect467591406","org.apache.cordova.facebook.Connect","getLoginStatus",[]]

I searched the Internet for this error, and everyone had the same error as fixed with the addition of a line of code below in the config.xml file

<plugin name="org.apache.cordova.facebook.Connect" value="FacebookConnectPlugin" />

and I added it, but I still have the same error?

+5
source share
1 answer

Have you added this to your config.xml?

<feature name="org.apache.cordova.facebook.Connect">
        <param name="ios-package" value="FacebookConnectPlugin" />
    </feature>

I had the same issue, added this, and it worked for me: source

, cordova 3.0

+1

All Articles