{"issue":{"state":"open","created_at":"2011-12-02T17:22:01Z","updated_at":"2011-12-03T22:24:15Z","comments":3,"user":{"gravatar_id":"fb736f6de3028fa60c89da5face03782","id":1236574,"url":"https://api.github.com/users/theepiphany","avatar_url":"https://secure.gravatar.com/avatar/fb736f6de3028fa60c89da5face03782?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"theepiphany"},"body":"Hey there, \r\n\r\nI was doing some testing with this that seemed to be working out successfully. Once I moved it to a live exchange account however, I started getting an empty array. I switched back to my test account and it worked fine.\r\n\r\nUpon further testing I found that if I deleted ~1700 of the contacts and dropped it down to around 800 or so, they would list just fine. Otherwise with 2000+ contacts it just failed and provided an empty array. Could this be due to a timeout value - or any ideas how we could resolve this?\r\n\r\nThanks so much.","assignee":null,"id":2430711,"labels":[],"number":2,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Contact listing limit on Exchange 2010?","closed_at":null,"html_url":"https://github.com/migrantgeek/php-ews/issues/2","url":"https://api.github.com/repos/migrantgeek/php-ews/issues/2","milestone":null},"action":"created","comment":{"created_at":"2011-12-03T22:24:15Z","updated_at":"2011-12-03T22:24:15Z","user":{"gravatar_id":"918d6682d4913859cb1d7f2735fc81c6","id":1227197,"url":"https://api.github.com/users/matthoiland","avatar_url":"https://secure.gravatar.com/avatar/918d6682d4913859cb1d7f2735fc81c6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"matthoiland"},"body":"Cool. So it does work when paging your requests! \r\n\r\nI just updated the code, so re-download and check out example.php.\r\n\r\nEssentially we're requesting the first X contacts (up to 1,000), then requesting another X contacts with an offset of X.\r\n\r\nRinse and repeat until you get all your contacts.\r\n\r\nIt's not glamorous, but it does avoid overloading the server with a timeout.\r\n\r\n","id":3003518,"url":"https://api.github.com/repos/migrantgeek/php-ews/issues/comments/3003518"}}