Not much code. iOS only (for now). Pull reqs welcome.
phonegap local plugin add https://github.com/jchris/FacebookLogin.git
window.cordova.plugins.FacebookLogin.getUserData(fbAppID, function(err, userData){
console.log(err, userData)
})
You have to set your Xcode BundleID on the Facebook App manger.
If you have something similar on Android, consider sending a pull request so we can add this plugin to the registry.
Apache 2.0