First ensure that you have Basic PhoneGap application running on your android. Check this tutorial if needed. Official tutorial is not so good but might help you out if Phonegap Facebook tutorial here fails. For additional information go to

  1. Download PhoneGap Facebook plugin from
  2. Move cdv-plugin-fb-connect.js into your android phonegap webroot assets/www
  3. Include it in index.html <script type=”text/javascript” charset=”utf-8″ src=”cdv-plugin-fb-connect.js”></script>
  4. Add <plugin name=”org.apache.cordova.facebook.Connect” value=”org.apache.cordova.facebook.ConnectPlugin” /> into res/xml/plugins.xml
  5. Download facebook_js_sdk.js from
  6. Create package org.apache.cordova.facebook and class Copy contents of this file into it
  7. Add package and .java files from to your java source. This enables to compile.
  8. Add import to com.package.your.R; or whatever is your android package so that your will be imported to
  9. Merge facebook icons from to your project res folder. This enables Facebook SDK sources to compile. Espacially is needed this image
  10. Verify the facebook using javascript methods in here.
  11. Dont forget to register you facebook android app, add your APP id to the init method and register your app signing key in facebook. About creating signing key hash look into

Download the Full Eclipse project sources here:  FacebookTest

In case of any issues don’t hesitate to post into comment and I will respond promptly if I can help.