[twitter-dev] Re: users.show follower count vs followers/ids count

2009-07-07 Thread Chris Prakoso
So far, according to my test, that is the case. i.e. the delta is the number
of suspended accounts.

HTH,
Chris

On Tue, Jul 7, 2009 at 12:18 PM, Idan Gazit i...@pixane.com wrote:


 Hi Folks,

 I've run into an interesting question that's not really addressed by
 the docs.

 Background
 =
 In the documentation for followers/ids, it states: (Please note that
 the result set isn't guaranteed to be 5000 every time as suspended
 users will be filtered out.) In addition, it seems that
 http://bit.ly/lp2f6
 (thread in this forum) claims that some zero-length pages may be
 interspersed among the pages containing ID's

 The Question
 ===
 I've carefully retrieved every page of followers/ids for a user with
 roughly 20K followers, stopping only after three consecutive zero
 length pages. The total number of id's fetched is about 25% lower than
 the count reported by users.show().

 Can I surmise that the delta between the two follower counts is due to
 suspended accounts? Is there a twitter api bug in play? Or a
 combination of both?

 Alternatively, an explanation of why the followers/ids total count
 differs from that of users/show would be terribly interesting.

 Thanks!

 -Idan



[twitter-dev] Re: users.show follower count vs followers/ids count

2009-07-07 Thread Idan Gazit

Hey Chris,

Not that I doubt you (I saw your earlier thread on the subject) -- I
just want to hear it from the mouths of the twitter devs themselves.

Hey devs, throw us a bone! :)

-I

On Jul 7, 3:41 pm, Chris Prakoso brajamu...@gmail.com wrote:
 So far, according to my test, that is the case. i.e. the delta is the number
 of suspended accounts.

 HTH,
 Chris

 On Tue, Jul 7, 2009 at 12:18 PM, Idan Gazit i...@pixane.com wrote:

  Hi Folks,

  I've run into an interesting question that's not really addressed by
  the docs.

  Background
  =
  In the documentation for followers/ids, it states: (Please note that
  the result set isn't guaranteed to be 5000 every time as suspended
  users will be filtered out.) In addition, it seems that
 http://bit.ly/lp2f6
  (thread in this forum) claims that some zero-length pages may be
  interspersed among the pages containing ID's

  The Question
  ===
  I've carefully retrieved every page of followers/ids for a user with
  roughly 20K followers, stopping only after three consecutive zero
  length pages. The total number of id's fetched is about 25% lower than
  the count reported by users.show().

  Can I surmise that the delta between the two follower counts is due to
  suspended accounts? Is there a twitter api bug in play? Or a
  combination of both?

  Alternatively, an explanation of why the followers/ids total count
  differs from that of users/show would be terribly interesting.

  Thanks!

  -Idan


[twitter-dev] Re: users.show follower count vs followers/ids count

2009-07-07 Thread Chris Prakoso
No problem. Yes, a confirmation would be good.
If I could just written-off all users in the delta as suspended, it would
save me a lot of API calls.

Chris

On Tue, Jul 7, 2009 at 2:46 PM, Idan Gazit i...@pixane.com wrote:


 Hey Chris,

 Not that I doubt you (I saw your earlier thread on the subject) -- I
 just want to hear it from the mouths of the twitter devs themselves.

 Hey devs, throw us a bone! :)

 -I

 On Jul 7, 3:41 pm, Chris Prakoso brajamu...@gmail.com wrote:
  So far, according to my test, that is the case. i.e. the delta is the
 number
  of suspended accounts.
 
  HTH,
  Chris
 
  On Tue, Jul 7, 2009 at 12:18 PM, Idan Gazit i...@pixane.com wrote:
 
   Hi Folks,
 
   I've run into an interesting question that's not really addressed by
   the docs.
 
   Background
   =
   In the documentation for followers/ids, it states: (Please note that
   the result set isn't guaranteed to be 5000 every time as suspended
   users will be filtered out.) In addition, it seems that
  http://bit.ly/lp2f6
   (thread in this forum) claims that some zero-length pages may be
   interspersed among the pages containing ID's
 
   The Question
   ===
   I've carefully retrieved every page of followers/ids for a user with
   roughly 20K followers, stopping only after three consecutive zero
   length pages. The total number of id's fetched is about 25% lower than
   the count reported by users.show().
 
   Can I surmise that the delta between the two follower counts is due to
   suspended accounts? Is there a twitter api bug in play? Or a
   combination of both?
 
   Alternatively, an explanation of why the followers/ids total count
   differs from that of users/show would be terribly interesting.
 
   Thanks!
 
   -Idan



[twitter-dev] Re: users.show follower count vs followers/ids count

2009-07-07 Thread Damon Clinkscales

 Alternatively, an explanation of why the followers/ids total count
 differs from that of users/show would be terribly interesting.


It used to be the case (at least when the feature first launched) that some
folks, particularly those who have large follower lists, had duplicate ids
in the followers/ids response.  At least that was my experience.

Don't know if this is still true, but you could check the uniqueness of the
set being returned, just for grins.

-damon

-- 
http://twitter.com/damon