Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome extension 如何使用谷歌联系人API获取所有谷歌联系人组?_Google Chrome Extension_Google Contacts Api - Fatal编程技术网

Google chrome extension 如何使用谷歌联系人API获取所有谷歌联系人组?

Google chrome extension 如何使用谷歌联系人API获取所有谷歌联系人组?,google-chrome-extension,google-contacts-api,Google Chrome Extension,Google Contacts Api,我已经阅读了文档,下面的url返回了正确的联系人。 但要获取组,以下url无效。 我错过什么了吗?在chrome扩展中使用以下代码获取google联系人和组 var url = 'https://www.google.com/m8/feeds/contacts/default/full'; var request = { 'method': 'GET', 'parameters': {'alt': 'json'} }; contact

我已经阅读了文档,下面的url返回了正确的联系人。

但要获取组,以下url无效。

我错过什么了吗?在chrome扩展中使用以下代码获取google联系人和组

var url = 'https://www.google.com/m8/feeds/contacts/default/full';
    var request = {
        'method': 'GET',
        'parameters': {'alt': 'json'}
    };

    contactOauth.sendSignedRequest(url, onContacts, request);

您是否尝试使用实际电子邮件地址而不是“默认”获取组?是的,即使这样也不起作用。在这种情况下,我会提交错误报告,您的代码对我来说很好。