On Thu, Mar 5, 2009 at 6:29 AM, JakeS <[email protected]> wrote:
> > I'd like to implement an "addressbook" or tab-completion for > @replies-- to make it easier for users to send a message to a specific > user without having to type out the whole username. Unfortunately, > there doesn't seem to be a way to get the full list of friends names > for a user. > > Any good ideas on how I can do this? There's no good way, as far as I know. You can get the list of IDs from the social graph calls, but to resolve those to names you either have to get the entire friends timeline (http://twitter.com/statuses/friends/) - which won't include people who have never tweeted, not that that matters a lot, or do a user show for every one of them. And if you do the former (get the entire friends status timeline), there really isn't any point in getting the social graph friend ID list, since it should be identical other than those who have never tweeted. IIRC, Alex said that there would be a huge performance hit to return the social network data as names rather than IDs. Nick
