我在谷歌php日曆api越來越奇怪的問題。它不會返回nextsynctoken。谷歌日曆PHP API不返回nextsynctoken
This is var_export of $service->events->listEvents($calendarId, $optParams);
Google_Service_Calendar_Events::__set_state(array(
'collection_key' => 'items',
'accessRole' => 'owner',
'defaultRemindersType' => 'Google_Service_Calendar_EventReminder',
'defaultRemindersDataType' => 'array',
'description' => NULL,
'etag' => '"p32o8lfd2qbkt20g"',
'itemsType' => 'Google_Service_Calendar_Event',
'itemsDataType' => 'array',
'kind' => 'calendar#events',
'nextPageToken' => NULL,
'nextSyncToken' => NULL,
'summary' => 'Meetings',
'timeZone' => '',
'updated' => '2017-01-30T10:18:50.782Z',
'internal_gapi_mappings' =>
array (
),
'modelData' =>
array (
'defaultReminders' =>
array (
),
'items' =>
array (
),
),
'processed' =>
array (
),
))
在api資源管理器中,它正在發送nextsynctoken。 Github鏈接: https://github.com/google/google-api-php-client/issues/1141
在此先感謝。
你能證明你正在全面要求你有什麼在$ opParms @DaImTo我這可能幫助https://developers.google.com/google-apps/calendar/v3/sync – DaImTo
感謝使用這些PARAM $ optParams =陣列( '的maxResults'=> 500, 'ORDERBY'=> '開始時間', 'singleEvents'=> TRUE, '時間min'=>日期( 'C'), ); – waleed