{"action":"closed","issue":{"url":"https://api.github.com/repos/intercom/intercom-php/issues/182","repository_url":"https://api.github.com/repos/intercom/intercom-php","labels_url":"https://api.github.com/repos/intercom/intercom-php/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/intercom/intercom-php/issues/182/comments","events_url":"https://api.github.com/repos/intercom/intercom-php/issues/182/events","html_url":"https://github.com/intercom/intercom-php/issues/182","id":183698193,"number":182,"title":"How to get next page in getEvents?","user":{"login":"oprog","id":3731303,"avatar_url":"https://avatars.githubusercontent.com/u/3731303?v=3","gravatar_id":"","url":"https://api.github.com/users/oprog","html_url":"https://github.com/oprog","followers_url":"https://api.github.com/users/oprog/followers","following_url":"https://api.github.com/users/oprog/following{/other_user}","gists_url":"https://api.github.com/users/oprog/gists{/gist_id}","starred_url":"https://api.github.com/users/oprog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oprog/subscriptions","organizations_url":"https://api.github.com/users/oprog/orgs","repos_url":"https://api.github.com/users/oprog/repos","events_url":"https://api.github.com/users/oprog/events{/privacy}","received_events_url":"https://api.github.com/users/oprog/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T14:12:20Z","updated_at":"2016-10-18T14:29:01Z","closed_at":"2016-10-18T14:29:01Z","body":"intercom-php ver 3.1.0\r\nPHP 5.6.27-1+deb.sury.org~xenial+1\r\n\r\nFrom the wiki:\r\n\r\n> When listing, the Intercom API may return a pagination object:\r\n> \r\n> {\r\n>   \"pages\": {\r\n>     \"next\": \"...\"\r\n>   }\r\n> }\r\n> You can grab the next page of results using the client:\r\n> \r\n> $client->nextPage($response[\"pages\"]);\r\n\r\nThat **does not work for events and getEvents.**\r\nMoreover I'm getting, generrally speaking, objects and not associative arrays as response.\r\n\r\nSince I can see that users getUsers has a pages->next in the response while events getEvents has a pages->since in the response, **what is the correct method to get next events page**?\r\n\r\nThanks\r\n\r\n"}}
{"actor":{"display_login":"oprog"}}