I am trying to use the new PhoneGap Facebook Connect plugin, which is supposed to work with just a few lines of code. https://github.com/davejohnson/phonegap-plugin-facebook-connect
PhoneGap v1.2.0
In Eclipse, I have built the sample project included with the plugin and have added my app_id and app_secret and put all files where necessary. It seems like I have done everything right, but the buttons do the following:
- Login: Alerts "not logged in" (even though I am logged in to Facebook both through the app and the browser)
- Me: Alerts "An active access token mst be used to query information about the current user. Type: OAuthException
- Get Session: Alerts "undefined"
- Get Login: Loads a facebook page in the browser which says "an error occurred. Please try again later"
- Logout: Alerts "auth.statusChange event"
What have I done wrong? I have a killer app waiting to be released which is dependent on this Facebook integration and I'm anxious to release it!