google contact api v3-创建联系人时标题/全名不出现

时间:2018-12-07 07:59:25

标签: php googlecontactsapi

https://github.com/rapidwebltd/php-google-contacts-v3-api

从最近几天开始,使用上述库创建新联系人时突然没有全名/标题。

下面没有任何运气尝试过。

    $title = $doc->createElement('title', $name);
    $entry->appendChild($title);
    $fullname = $doc->createElement('gd:name', $name);
    $entry->appendChild($fullname);

    $req = new \Google_Http_Request('https://www.google.com/m8/feeds/contacts/default/full?v=3.0');
    $req->setRequestHeaders(array('gdata-version' =>'3.0' ,'content-type' => 'application/atom+xml; charset=UTF-8; type=feed'));

几天前,它工作正常,没有任何更改。除标题/全名外,其余详细信息即将到来。

有什么帮助/建议吗?

0 个答案:

没有答案