phonegap/phonegap-facebook-plugin — pull request #459 by aogilvie (2014-04-16 10:47:09+00:00)
Title: Android Graph API addition, Update iOS SDK, Android SDKs and update to README.md

### Testing code

```
document.addEventListener('deviceready', function () {

var fbLoginSuccess = function (userData) {
alert("UserInfo: " + JSON.stringify(userData));

facebookConnectPlugin.api(userData.authResponse.userId, [],
function (result) {
alert("Result: " + JSON.stringify(result));
},
function (error) {
alert("Failed: " + error);
});
}

facebookConnectPlugin.login(["basic_info"],
fbLoginSuccess,
function (error) { alert("" + error) }
);
}, false);
```