Hey cballou, What is the actual API call you are making? I ask because the users/lookup.json method requires you pass it user ids for it to work. If you don't pass it any user ids or screen names you will told that "no user matches the specified terms". The data is then returned in an undefined order. As nischalshetty said, this method can be used to request information about any user so the sort order is arbitrary.
Are you getting results when you pass no IDs? Matt On May 27, 7:43 pm, nischalshetty <nischalshett...@gmail.com> wrote: > So it's the same one that I was talking about. They haven't specified > any sorting rules in the doc, are you sure about it? > > Before all that, I hope you know that the lookup API can be used to > retrieve info about ANY twitter user. So it does not matter if that > user is your friend. How will the sorting be applied then? > > -Nischal > > On May 27, 5:18 am, cballou <ball...@gmail.com> wrote: > > > > > The link is: > > >http://dev.twitter.com/doc/get/users/lookup > > > It actually returns the full dataset for up to 100 users. The returned > > data is sorted by your newest friendship in descending order. This > > functionality is quite minimal and could definitely be expanded upon > > like I suggested above. I was just wondering if there were any > > possibly hidden parameters I could pass in to change the count, cursor > > position, etc. > > > On May 26, 1:22 am, nischalshetty <nischalshett...@gmail.com> wrote: > > > > Are you talking about this > > > -http://api.twitter.com/version/users/lookup.format > > > > The above API returns whatever ids you have passed. Am I missing > > > something? > > > > -Nischal > > > > On May 26, 4:38 am, cballou <ball...@gmail.com> wrote: > > > > > Nobody? > > > > > On May 25, 12:14 pm, cballou <ball...@gmail.com> wrote: > > > > > > I really don't like the fact that calling users.lookup() returns the > > > > > last 100 users I have friended. > > > > > > Is there a way to retrieve users in a more random fashion or with some > > > > > kind of ordering (ascending/descending)? I'm looking for more > > > > > optional parameters. > > > > > > Suppose, for instance, that I have 500 friends. I would not want to > > > > > pull my last 100 friends when making this API call. I might want to, > > > > > however, pull a random sampling of 100 of those friends. I may also > > > > > want to pull a particular number of friends (i.e. imposing a limit on > > > > > the request). > > > > > > I would propose that there be additional filtering parameters for this > > > > > request: > > > > > > sort: asc/desc/random (default desc) > > > > > limit: 1-100 (default 100) > > > > > > Can anybody clarify and expand upon this for me?