phonegap/phonegap-facebook-plugin — pull request #458 by aogilvie (2014-04-16 10:45:07+00:00)
Title: added getAccessToken API to iOS

### Test Code

```
document.addEventListener('deviceready', function () {
var fbLoginSuccess = function (userData) {
alert("UserInfo: " + JSON.stringify(userData));
facebookConnectPlugin.getAccessToken(function(token) {
alert("Token: " + token);
}, function(err) {
alert("Could not get access token: " + err);
});
}

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