我正在使用google-api-php-client-0.6.1(API v3)從服務帳戶的共享(非主要)日曆中列出/獲取事件?我能夠讓通過API請求使用這些設置:如何使用google api php客戶端庫爲服務帳戶列出/獲取來自共享(非主要)日曆的事件?
client id: xxx.apps.googleusercontent.com
service account name: [email protected]
my google account is: [email protected]
和我所試圖做的是插入/列表/得到日曆事件[email protected]。
當我這樣做,它的工作原理:
$events = $service->events->listEvents('primary');
然而,當我做到以下幾點,這是行不通的:
$events = $service->events->listEvents('[email protected]');
,我得到一個錯誤「無效的JSON服務響應「,任何人都可以提供任何幫助?
(也張貼了我在google group問題)
嗨,有人可以請幫助上述問題? – yap