Information limit requests



I am going to do a php aplication to obtain the number of followers of a larg list of user. I am going to use this code. Has it got this code limit of requests, 350 request per hour?

$url = ‘’. $username;

$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);

$xml = new SimpleXMLElement($data);
$count = $xml->followers_count;

$count = (float) $count;
$count = number_format($count);
return $count;


If you’re performing this request without authentication, it’ll draw from the 150 requests per hour allowed to your IP address. Consider using [node:63] as well.


But, how can I do with authentication? Can you give me an example? I would be very gratefull.

However, If I used this code I put here… Am I allowed 150 requests per hour or no?

function getFollowers($username){
$x = file_get_contents(“”.$username);
$doc = new DomDocument;
$ele = $doc->getElementById(‘follower_count’);
return $innerHTML;


please i have many problems with my acount some people doase acounts and pretend that theynare me and i cant im fed up with this so plz varefi my acount so every one nows that is me thank you vaery much