Unfortunately these APIs give you the IDs of your followers, but not the
number of followers that each of these IDs has. So this is not the answer.
Ordinarily I'd write my app to cache the IDs of the twitter account that
it's operating so that it would not have to ask for this list every time.

Basically I want the following:

[for all Y where Y is a follower of X | <Y, the number of followers of Y>]

So it looks like I'm limited to the status methods which return 100 results
at a time, and whose return info contains the info I need. I'm guessing I'll
just have to apply for whitelisting once X gets more than 10K followers.

On Fri, May 8, 2009 at 7:27 AM, Cameron Kaiser <spec...@floodgap.com> wrote:

>
> > Let's say I want to write an application that operates a twitter account
> X,
> > and I want the application to obtain every hour for each follower Y of X
> to
> > obtain the count of followers of Y (how many, not the actual list).
> >
> > I know I can do this via the followers.xml API but that (a) returns only
> 100
> > of X's followers at a time, and (b) returns a LOT of data I don't need.
>
> Have you looked at the social graph methods? These are still paged, but at
> 5000/page.
>
>
> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friends%C2%A0ids
>
> --
> ------------------------------------ personal:
> http://www.cameronkaiser.com/ --
>  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
> ckai...@floodgap.com
> -- A zebra cannot change its spots. -- Al Gore
> --------------------------------
>

Reply via email to