Facebook log-in script, for Phonegap / Android.