Get User Followers using Follower/ids 1.1?



I’m using Abraham’s OAuth Library , and I would like to GET the followers list of a user more than 50 time (is it possible?). I used the old v1.0 but after looking around I found v1.1 . I tried but I’m not able to echo the ids of all the followers.


$parm = array(‘screen_name’=>‘mohammedfadin’);
$follow =$oauth->get(‘followers/ids’, $parm);

echo $follow[‘ids’]; or even echo $follow[0]->id

However, using var_dump($follow) I’m able to see the ids list.

Any idea what I’m doing wrong?


Found what’s wrong. I have to first change my OAuth object from 1.0 to 1.1