Hi,

I'm trying to write a script that selects a particular follower.
For example the 4148125 follower from ladygaga's 11138211 followers.

With the old api (I'm talking a few years back) I used to be able to
request a certain page of follower details. This meant I could work
out (because I knew how many followers would be on a page) which page
to request and get the 4148125 follower with just one request to the
api.

Looking at the current api the follower/ids and friends/id methods
require a cursor parameter which is delivered at the end of each page
request. As there is 5000 followers per request I'd have to do 829
requests to get to the page containing the id of the 4148125 follower.
These requests can't be done asynchronously and the process would take
far too long.

Is there a way of calculating what the cursor would be for the nth
page? What actually is the cursor?
Is there a method to retrieve an index of cursors?
Does anyone have any other ideas of how this could be achieved?

Many thanks in advance,
Pete

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk

Reply via email to