Hi there, i need to translate this code to API V1.1 can someone help me? :


#1
$dato=file_get_contents('http://api.twitter.com/1/users/show.xml?screen_name='.$nick);   
  if (preg_match('/followers_count>(.*)</',$dato,$set)!=0) {      
    $contador = $set[1];

do i need to use Oauth for get the followers_count?

Thanks in Advanced

Jose Zaragoza


#2

All API calls now require OAuth and API v1 is deprecated so you should look at https://dev.twitter.com/docs/api/1.1/get/users/show


#3

Thanks Andy, i will taka a look on that, regards from Mexico