Re: Friends and followers

2008-10-13 Thread DustyReagan

Hey Stephen,

I have a similar app, http://friendorfollow.com. I process my data in
a similar manner as you and I've also noticed some inaccuracies. So
far I've chalked it up to lag in the API data. Would be nice if the
data was a bit more reliable.

Dusty

On Oct 10, 7:03 pm, Steven Bristol [EMAIL PROTECTED] wrote:
 I have a case where I am callinghttp://twitter.com/statuses/friends
 andhttp://twitter.com/statuses/followerson the same user to discern
 who is a friend, follower or mutual. There seems to be something wrong
 with the data that is returned because some people who are mutually
 following are not being returned in one or the other calls. I have
 verified this with my own account. My account 'stevenbristol' is a
 friend to 'Croaky' and he is a friend to me. He shows up 
 here:http://twitter.com/statuses/friends/stevenbristol.xml, but he does
 show up here:http://twitter.com/statuses/followers/stevenbristol.xml.
 When you look at both user's friends list on the web both users show
 up there.

 Is my logic wrong or is there a bug in the API?

 cheers,
 steven bristol


Re: Adding following_count to friends followers methods

2008-10-13 Thread Alex Payne

We have an open issue for that.  Please star it to receive updates
about its progress:

  http://code.google.com/p/twitter-api/issues/detail?id=5

On Thu, Oct 9, 2008 at 10:21 PM, DustyReagan [EMAIL PROTECTED] wrote:

 Hi Twitter, Alex, all,

 Would it be possible to get a user's following_count added to the
 friends and followers user methods?

 http://twitter.com/statuses/friends/bob.xml
 http://twitter.com/statuses/followers/bob.xml

 I'd like to be able to sort / search through a user's contacts
 (followings and followers) based on each user's following to follower
 ratio. This is helpful because a user may assume that a contact with
 more followers to followings is a better contact than the inverse,
 thus someone they might want to follow.

 I can get a user's following count from the show method, but that
 would very resource intensive for me to get it for all of a user's
 followers and followings.

 Thanks!

 Dusty

 My project: http://FriendOrFollow.com/




-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


Opinions wanted: a more RESTful way to update your status

2008-10-13 Thread Alex Payne

I'm sitting down with @mzsanford this week to spec out what we're
calling the API Service internally, the next version of the Twitter
API.  We're going to have a number of questions that we want your
feedback on, and this is the first.

Currently, the URL to which you POST to update a user's status is this:

  http://twitter.com/statuses/update.format

This breaks RESTful conventions and is generally a bit ugly.  We're
considering one of the following, either:

  POST http://api.twitter.com/1/statuses.xml

... or:

  POST http://api.twitter.com/1/users/bob/statuses.xml

The difference is all in RESTful semantics.  In the first case, you're
POSTing a new status to the universal collection of statuses.  In the
second case, you're POSTing a new status to user bob's collection of
statuses.

Which do you all prefer and why?  Alternatives welcome.

-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x