Re: [twitter-dev] Re: Problem With Fetching Followers and Following Id's
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
Re: [twitter-dev] Re: Problem With Fetching Followers and Following Id's
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 100this 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 idsso 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 100this 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 idsso u already have all the list of followers/following 4. in this case u already fetched all the follower/following list of 5000so 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 webmas...@quenota.com 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
[twitter-dev] Re: Problem With Fetching Followers and Following Id's
to whom should we write for this particular issue //kamesh On Jun 14, 12:26 pm, Georgooty varghese georgo...@gmail.com wrote: I am facing the same issue.. On Tue, Jun 14, 2011 at 11:56 AM, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Is Anybody have IDEA about the solution of above problem //kamesh On Jun 13, 12:49 pm, kamesh SmartDude kamesh.smartd...@gmail.com 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_rtcur... it is ignoring the count parameterand 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
Re: [twitter-dev] Re: Problem With Fetching Followers and Following Id's
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 kamesh.smartd...@gmail.com wrote: to whom should we write for this particular issue //kamesh On Jun 14, 12:26 pm, Georgooty varghese georgo...@gmail.com wrote: I am facing the same issue.. On Tue, Jun 14, 2011 at 11:56 AM, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Is Anybody have IDEA about the solution of above problem //kamesh On Jun 13, 12:49 pm, kamesh SmartDude kamesh.smartd...@gmail.com 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_rtcur... it is ignoring the count parameterand 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
Re: [twitter-dev] Re: Problem With Fetching Followers and Following Id's
Thank You episod. //kamesh On Wed, Jun 15, 2011 at 7:22 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: 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 kamesh.smartd...@gmail.com wrote: to whom should we write for this particular issue //kamesh On Jun 14, 12:26 pm, Georgooty varghese georgo...@gmail.com wrote: I am facing the same issue.. On Tue, Jun 14, 2011 at 11:56 AM, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Is Anybody have IDEA about the solution of above problem //kamesh On Jun 13, 12:49 pm, kamesh SmartDude kamesh.smartd...@gmail.com 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_rtcur... it is ignoring the count parameterand 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 -- 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-dev] Re: Problem With Fetching Followers and Following Id's
Is Anybody have IDEA about the solution of above problem //kamesh On Jun 13, 12:49 pm, kamesh SmartDude kamesh.smartd...@gmail.com 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.twitter.com/version/statuses/followers.format 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.com/version/followers/ids.format to fetch the ID's of the follower and following people Id's and http://api.twitter.com/version/users/lookup.format API 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_rtcur... it is ignoring the count parameterand 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
Re: [twitter-dev] Re: Problem With Fetching Followers and Following Id's
I am facing the same issue.. On Tue, Jun 14, 2011 at 11:56 AM, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Is Anybody have IDEA about the solution of above problem //kamesh On Jun 13, 12:49 pm, kamesh SmartDude kamesh.smartd...@gmail.com 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.twitter.com/version/statuses/followers.format 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.com/version/followers/ids.format to fetch the ID's of the follower and following people Id's and http://api.twitter.com/version/users/lookup.format API 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_rtcur... it is ignoring the count parameterand 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