davejohnson/phonegap-plugin-facebook-connect — Issue #103: 2012 facebook API Updates?
Author: albrighton
Created: 2012-02-26 05:11:38+00:00
State: open

I seem to only be able to get this plugin to work with the deprecated requests such as the authentication methods, response.session.

This function works
-------------------
function login() {
FB.login(
function(e) {
alert(e);
},
{ perms: "read_stream,email,offline_access" }
);
}

This one doesn't
------------------
FB.login(function(response) {
if (response.authResponse) {
console.log("User is connected to the application.”);
var accessToken = response.authResponse.accessToken;
}
});

FB.login is also a little funky, it takes the old object of perms but gives an error when using scope?

Is this something I am doing? or is this a common problem?