I am tryng to fetch data from parse.com but its not allow to skip more than 10000 data so for doing it in a alternate way i have to use order by
My code is
$request = 'skip='.$max.'&limit=1000';
$url = "https://api.parse.com/1/classes/_Installation" . "?".$request;
// $ch = curl_init($url);
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch,CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$parse_data=json_decode($response,true);
I'm trying to use this concept https://www.parse.com/questions/paging-through-more-than-10000-results
but i don't know how to use orderby in curl
code.
please help