it's not critical, so i was mainly trying to make sure that i was not
missing something in the API.

i'm just doing a check on the response with the page parameter.  if
it's empty, then i've reached the last page and will combine the
result sets (from each page). problem solved.


On Jun 18, 12:47 am, Developer In London <[email protected]>
wrote:
> why would you need the screen_names of all the friends? usually you can use
> the twitterID for making any API calls
>
> 2009/6/18 sull <[email protected]>
>
>
>
>
>
>
>
> > i actually started out using statuses/friends until i realized that it
> > was only 100 results per call.
> > then i would have to go into paging.  plus i didnt need the other data
> > that is returned.
> > so then i decided that their must be a more direct call to make.  i
> > suppose not.
>
> > so if i return to statuses/friends approach, i would have to determine
> > how many pages of friends exist for that user so i can import all the
> > friends.  it would have been helpful if in the data response, the
> > total # of pages was listed as well.  but i cna calculate based on
> > <friends_count>###</friends_count>.
>
> > any other thoughts?  is this what others are doing to get complete
> > friends list?
>
> > thanks.
>
> > sull
>
> > On Jun 17, 10:30 pm, Abraham Williams <[email protected]> wrote:
> > > statuses/friends would probably be faster.
>
> > > On Wed, Jun 17, 2009 at 20:11, sull <[email protected]> wrote:
>
> > > > i found it odd that i cannot seem to get a simple API response with
> > > > all of a user's friends screen_names, only user ids.  do i need to
> > > > make a request from users/show after i do friends/ids ?  am i missing
> > > > a direct call or more efficient method?
>
> > > > thanks.
>
> > > --
> > > Abraham Williams | Community |http://web608.org
> > > Hacker |http://abrah.am|http://twitter.com/abraham
> > > Project |http://fireeagle.labs.poseurtech.com
> > > This email is: [ ] blogable [x] ask first [ ] private.
>
> --
> cashflowclublondon.co.uk
>
>                       ("`-''-/").___..--''"`-._
>                        `6_ 6  )   `-.  (     ).`-.__.`)
>                        (_Y_.)'  ._   )  `._ `. ``-..-'
>                      _..`--'_..-_/  /--'_.' ,'
>                     (il),-''  (li),'  ((!.-'
> .

Reply via email to