私はここでグーグルの連絡先を取得するために取り組んできました。ユーザーの個人情報を取得しましたが、ユーザーの連絡先を取得できません。次のエラーが発生します:401(認証が必要です)
https://www.google.com/m8/feeds/contacts/xyz@gmail.com/full?oauthtoken=[object%20Object]&callback=jQuery162xxxxxxxxxx_13xxxxxxxxxx2&_=13xxxxxx。
$.ajax({
url: "https://www.google.com/m8/feeds/contacts/default/full",
dataType: "jsonp",
headers: "GData-Version: 3.0",
data:{accessToken: authResult },
success: function (data) {
console.log("json"+JSON.stringify(data));
}
});