Re: [twitter-dev] hot to get all friend list

2010-12-03 Thread Abraham Williams
What do you mean by populate friend? It looks like your code should mostly work. One issue is the while loop will never end because next_cursor returns 0 when there are no more results which is greater then -1. Abraham - Abraham Williams | Hacker Advocate | abrah.am @abraham

[twitter-dev] hot to get all friend list

2010-12-02 Thread putri
dear friend, need helpp, :)... im nubiiee in here i want get all friend list, and i confuse how to pupulate friend from paging.. this my code: $cursor = -1; if($cursor == -1 ){ $followers = $connection-get('statuses/friends', array('id' = $getUserId[0]

Re: [twitter-dev] hot to get all friend list

2010-12-02 Thread Adam Green
You are using 'statuses/friends'. That requires OAuth, only returns 100 results at a time, and also returns the most recent tweet for each user. That is slow, bulky, and quickly gets rate limited. I use 'friends/ids', if all I need is a list of all friends. That doesn't need any authentication