使用Google Plus Domain API以编程方式将人员添加到Circle?

时间:2015-06-28 00:32:31

标签: php api google-plus google-api-php-client google-plus-domains

我尝试通过此代码添加人员圈子:

requirements.txt

我收到错误:

$this->google = new \Google_Service_PlusDomains($this->client);

......

$this->google->circles->addPeople(
    $circleId, ['userId' => $userId]
);

我在Google Plus域文档中看到,但它没有php示例(只是java和ruby):https://developers.google.com/+/domains/circles/adding

0 个答案:

没有答案