[twitter-dev] http://twitter.com/statuses/friends.xml Improper order
Hi, I am using statuses/friends call to get the list of user's friend's screen names. These screen names are stored by the system. I am maintaining the last stored screen name, so that it can be used as offset from which new screen names can be listed.For ex: today I stored 250 screen names, after 10 days 50 more friends are added, by using the offset I end up storing the newly added 50 screen names only. The problem is that statuses/friends is returning the array in the order in which they joined twitter , but not the order in which the user is following them. As per the documentation it says ... Returns a user's friends, each with current status inline. They are ordered by the order in which the user followed them, most recently followed first, 100 at a time But the results are different. Where as friends/ids call is returning the list as mentioned in documentation. Well i can use this list and get screen names for each id, but it is expensive as the system is a mobile app and performance is critical. Please let me know if this is a know issue or is there any thing more i need to do to get the statuses/friends as mentioned in documentation. Thanks, Srikanth
Re: [twitter-dev] http://twitter.com/statuses/friends.xml Improper order
I believe that this is a known issue which the Twitter team are working on. There are messages in this group about the issue - a search should give you some more info. All the best, Tom On Thu, Dec 31, 2009 at 12:03 PM, srikanthsombha...@gmail.com srikanthsombha...@gmail.com wrote: Hi, I am using statuses/friends call to get the list of user's friend's screen names. These screen names are stored by the system. I am maintaining the last stored screen name, so that it can be used as offset from which new screen names can be listed.For ex: today I stored 250 screen names, after 10 days 50 more friends are added, by using the offset I end up storing the newly added 50 screen names only. The problem is that statuses/friends is returning the array in the order in which they joined twitter , but not the order in which the user is following them. As per the documentation it says ... Returns a user's friends, each with current status inline. They are ordered by the order in which the user followed them, most recently followed first, 100 at a time But the results are different. Where as friends/ids call is returning the list as mentioned in documentation. Well i can use this list and get screen names for each id, but it is expensive as the system is a mobile app and performance is critical. Please let me know if this is a know issue or is there any thing more i need to do to get the statuses/friends as mentioned in documentation. Thanks, Srikanth
Re: [twitter-dev] http://twitter.com/statuses/friends.xml Improper order
http://code.google.com/p/twitter-api/issues/detail?id=1277 On Fri, Jan 1, 2010 at 16:02, Thomas Woolway tswool...@gmail.com wrote: I believe that this is a known issue which the Twitter team are working on. There are messages in this group about the issue - a search should give you some more info. All the best, Tom On Thu, Dec 31, 2009 at 12:03 PM, srikanthsombha...@gmail.com srikanthsombha...@gmail.com wrote: Hi, I am using statuses/friends call to get the list of user's friend's screen names. These screen names are stored by the system. I am maintaining the last stored screen name, so that it can be used as offset from which new screen names can be listed.For ex: today I stored 250 screen names, after 10 days 50 more friends are added, by using the offset I end up storing the newly added 50 screen names only. The problem is that statuses/friends is returning the array in the order in which they joined twitter , but not the order in which the user is following them. As per the documentation it says ... Returns a user's friends, each with current status inline. They are ordered by the order in which the user followed them, most recently followed first, 100 at a time But the results are different. Where as friends/ids call is returning the list as mentioned in documentation. Well i can use this list and get screen names for each id, but it is expensive as the system is a mobile app and performance is critical. Please let me know if this is a know issue or is there any thing more i need to do to get the statuses/friends as mentioned in documentation. Thanks, Srikanth -- Abraham Williams | #doit | http://hashtagdoit.com Project | Intersect | http://intersect.labs.poseurtech.com Hacker | http://abrah.am | http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. Sent from Madison, WI, United States