When using cursors, you cannot specify a count parameter. If you want to limit the results that you get back, simply truncate the response to the number of ids that suits you. You can pre-prepare paginated results by first building the complete set and then building a UI that will navigate between the already fetched data.
@episod <http://twitter.com/intent/user?screen_name=episod> - Taylor Singletary On Wed, Jun 15, 2011 at 2:26 AM, kamesh SmartDude < [email protected]> wrote: > to whom should we write for this particular issue > > //kamesh > > On Jun 14, 12:26 pm, Georgooty varghese <[email protected]> wrote: > > I am facing the same issue.. > > > > On Tue, Jun 14, 2011 at 11:56 AM, kamesh SmartDude < > > > > > > > > > > > > > > > > [email protected]> wrote: > > > Is Anybody have IDEA about the solution of above problem > > > > > //kamesh > > > > > On Jun 13, 12:49 pm, kamesh SmartDude <[email protected]> > > > wrote: > > > > Dear All, > > > > > > I am developing a twitter mobile application, and i have a problem in > > > > fetching the followers and following list. > > > > > > earlier i used > > > > >http://api.twitter.com/version/statuses/friends.formathttp://api.twit. > .. > > > > > > API's to fecth the Followers and following people list. But now they > > > > are depricated. > > > > > > Now i want to use the API's > > > > >http://api.twitter.com/version/friends/ids.formathttp://api.twitter.c. > .. > > > > > > to fetch the ID's of the follower and following people Id's and > > > > > >http://api.twitter.com/version/users/lookup.formatAPI to get the > > > > user List. > > > > > > Now My problem is that i want to fetch the Specific number (as per my > > > > requirement it is 16) of follower and following id's using the above > > > > two API's (friends/ids.format and followers/ids.format). > > > > > > But these two API's ignoring the "count" Parameter (suppose if i sent > > > > a request to fetch the followers of the user = sachin_rt > > > > > > > http://api.twitter.com/1/followers/ids.json/screen_name=sachin_rt&cur... > > > > > > it is ignoring the count parameter....and returning an amount "5000" > > > > followers ID's. > > > > ) > > > > > > and returning a huge number of Id's. As i am developing a mobile app > i > > > > don't want to store this amount of data in my database until user go > > > > for "showmore"/ or scroll to the bottom of the list. > > > > > > please let me know is there any solution to fetch the specific number > > > > of ID's of the followers/follwing. > > > > > > Thanks in AdvanceKamesh > > > > > -- > > > 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 > -- 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
