Just wondering if someone could assist with the following.

Basically I have looked at the script below to tally hashtag mentions, but it's apparently limited by the Twitter API, which gives you max 100 tweets per request. Basically can anyone assist in how this can be extended and secondly it needs to also reference the person who used the hashtag, and their twitter account name and total hashtag mentions. It would also be good to set a date range, but no idea as to how to do this, so help would be appreciated.

HTML Code:
<?php
   global $total, $hashtag;
   //$hashtag = '';
   $hashtag = '#jobs';
   $total = 0;
   function getTweets($hash_tag, $page) {
      global $total, $hashtag;
      $url = 'http://search.twitter.com/search.json?q='.urlencode($hash_tag).'&';
      $url .= 'page='.$page;    
      $ch = curl_init($url);
      curl_setopt ($ch, CURLOPT_RETURNTRANSFER, TRUE);
      $json = curl_exec ($ch);
      curl_close ($ch);
      //echo "<pre>";    
      //$json_decode = json_decode($json);
      //print_r($json_decode->results);

      $json_decode = json_decode($json);        
      $total += count($json_decode->results);    
      if($json_decode->next_page){
         $temp = explode("&",$json_decode->next_page);        
         $p = explode("=",$temp[0]);                
         getTweets($hashtag,$p[1]);
      }        
   }

   getTweets($hashtag,1);
   echo $total;
?>