Hello
I'm starting to use the Google API to connect to the phone book ....
I decided to use JavaScript
Here in use code:
function auth() {
var config = {
'client_id': '******',
};
gapi.auth.authorize(config, function() {
fetch(gapi.auth.getToken());
});
}
function fetch(token) {
token['g-oauth-window'] = null;
$.ajax({
dataType: 'jsonp',
data: token
}).done(function(data) {
document.getElementById('prova').innerHTML = JSON.stringify(data);
});
}
Works well .... shame that only shows a small part of the names in my address book!
Does anyone have suggestions?