These new methods are most useful for services that are maintaining a
cache of user details. If you see a user ID that you don't have cached,
you'll have to call /users/show to retrieve that user's details. But for
services with large user bases, or those that simply want to diff a
user's social graph over time, we hope these methods will come in handy.
You can find the documentation at
http://apiwiki.twitter.com/REST-API-Documentation#SocialGraphMethods.
--
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x
Another developer noted duplicates; we'll look into that.
> On Feb 5, 3:07 am, James Deville <james.devi...@gmail.com> wrote:
> > Any chance of a easy way to map this to usernames? We want the friends list
> > for Witty (and I imagine others), but we don't need full profiles, just this
> > + username. This won't help us otherwise since we'll need to map the entire
> > list to usernames, which will require too many requests.
I agree that having the username would be useful. If it's not a bunch
of extra strain to include it, that would be splendid. If we have the
username, we can build URLs to Twitter profile pages and/or display
something meaningful (a name) to a user.
thanks,
-damon
--
http://twitter.com/damon
So while I do understand that it'd be more convenient, my hunch is that
the quality of service for such a method would be intolerable.
-Stuart
2009/2/5 Alex Payne <al...@twitter.com>:
-Stuart
2009/2/4 Alex Payne <al...@twitter.com>:
>
> Happy to announce two new API methods today, delivered in response to
> developer demand for an easier way to keep tabs on users' social graphs. The
> methods, /friends/ids and /followers/ids, return the entire list of numeric
> user IDs for a user's set of followed and following users, respectively.
> Responses to these methods are cached until the user's social graph changes.
> The responses come direct from our denormalized list data stores, and should
> be reasonably fast even for users with a large number of followers/follows.
>
> These new methods are most useful for services that are maintaining a cache
> of user details. If you see a user ID that you don't have cached, you'll
> have to call /users/show to retrieve that user's details. But for services
> with large user bases, or those that simply want to diff a user's social
> graph over time, we hope these methods will come in handy.
>
> You can find the documentation at
> http://apiwiki.twitter.com/REST-API-Documentation#SocialGraphMethods.
>
> --
Cheers.
-Stuart
2009/2/7 Alex Payne <al...@twitter.com>: