Reputation: 93
I am getting weird problem in google php calendar api. It is not returning 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 (
),
))
While in api explorer, it is sending nextsynctoken. Github link: https://github.com/google/google-api-php-client/issues/1141
Thanks in advance.
Upvotes: 1
Views: 932
Reputation: 93
Thanks guys I got answer. Her https://github.com/google/google-api-dotnet-client/issues/610
Upvotes: 4