hai george,

suppose per request u want to show 100 follower/following.

case 1: The user may have lessthan 5000 followers/following (suppose say
100)
1. store all the Ids u received from twitter and send the request to fetch
first 100 follower/following
2. once u received the list of 100 followers/following remove the First 100
IDs...
3. supppose user want next 100....this time no need to send request for
IDS...because u already have 100 ids...so send the request to fetch next 100
follower/following...once u received remove the ids....so u already have all
the list of followers/following

case 2: The User may have morethan 5000 followers/following
1. store all the Ids u received and *the Cursor Value* from twitter and send
the request to fetch first 100 follower/following
2. once u received the list of 100 followers/following remove the First 100
IDs...
3. supppose user want next 100....this time no need to send request for
IDS...because u already have 100 ids...so send the request to fetch next 100
follower/following...once u received remove the ids....so u already have all
the list of followers/following
4. in this case u already fetched all the follower/following list of
5000....so now u need to fetch the next IDS using the cursor...once u got
the next set of IDS...follow step 1 to 3...again

//kamesh

On Mon, Jun 27, 2011 at 8:38 PM, quenotacom <[email protected]> wrote:

> sorry, I dont understand what you mean, the problem is : I can call the
> followers query I accept say 100, calling lookup for them, the problem is,
> cursor_next is pointing to 5001 ocurrence,
> so i have to do all the job again.
>
> --
> 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
>

-- 
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