Versions
This plugin is no longer available. Our public plugin repository has been shuttered in favour of npmjs.com. Read the blog here.

Facebook Connect

This is the official plugin for Facebook in Apache Cordova/PhoneGap!

The Facebook plugin for Apache Cordova allows you to use the same JavaScript code in your Cordova application as you use in your web application. However, unlike in the browser, the Cordova application will use the native Facebook app to perform Single Sign On for the user. If this is not possible then the sign on will degrade gracefully using the standard dialog based authentication.

Usage Instructions

Add the following to your config.xml to use version 0.4.0 of this plugin (recommended)::
<plugin name="com.phonegap.plugins.facebookconnect" spec="0.4.0" source="pgb">
    <param name="APP_ID" value="..." />
    <param name="APP_NAME" value="..." />
</plugin>
You can also omit the version tag to always use the most recent version of this plugin. Note that this will result in your app being automatically updated with new versions of this plugin as they are released, and may result in unexpected behaviour.

Docs

Documentation for this plugin can be viewed here.

Other Details

Plugin ID
com.phonegap.plugins.facebookconnect 
Version
0.4.0 
Platform(s)
Android, iOS 
PhoneGap Version(s)
3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.5.0, 3.6.3, 3.7.0 
License
apache2 
Repository
git@github.com:phonegap-build/FacebookConnect.git 
Tag / Branch
v0.4.0 
Commit
962eb0a1c07935ff813e28aa9eaa5581f2e10416 
Apps
66348 
Last Used
3 months ago 
Uploaded
Oct 18, 2013