[twitter-dev] - Each http request (home tweet) json data count
Dear Twitter, I have implemented a twitter client in C. I have used xAuth authentication. I have used pagination for each http request for home page/user time line request. Please look the below url, this was used for getting home tweets *http://api.twitter.com/1/statuses/home_timeline.json?page=1* This http request response json data count is 17 other times may be 20 I did not get consistent 20,, I expect the count is 20. My question is to getting 20 count of each http request, what can I do for the http request? Could you please help me.. I am waiting for your response.. Regards, George -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] - Each http request (home tweet) json data count
Hi George, The count parameter on timelines is more of an up to parameter -- you should get no more than the count value, but you won't be guaranteed exactly the number you asked for either. For legacy reasons, most timeline methods don't include retweets in the default response. By adding the query parameter include_rts=true to your requests, you'll be more likely to get the number of results you are looking for since they are included in the original underlying payload (and are often the missing tweets you are looking for when the default returns less than what you're asking for). Taylor @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer Advocate On Wed, Mar 16, 2011 at 7:29 AM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I have implemented a twitter client in C. I have used xAuth authentication. I have used pagination for each http request for home page/user time line request. Please look the below url, this was used for getting home tweets *http://api.twitter.com/1/statuses/home_timeline.json?page=1* This http request response json data count is 17 other times may be 20 I did not get consistent 20,, I expect the count is 20. My question is to getting 20 count of each http request, what can I do for the http request? Could you please help me.. I am waiting for your response.. Regards, George -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] - Each http request (home tweet) json data count
Thanks Taylor .. I shall check it, Regards, George On Wed, Mar 16, 2011 at 8:05 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi George, The count parameter on timelines is more of an up to parameter -- you should get no more than the count value, but you won't be guaranteed exactly the number you asked for either. For legacy reasons, most timeline methods don't include retweets in the default response. By adding the query parameter include_rts=true to your requests, you'll be more likely to get the number of results you are looking for since they are included in the original underlying payload (and are often the missing tweets you are looking for when the default returns less than what you're asking for). Taylor @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer Advocate On Wed, Mar 16, 2011 at 7:29 AM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I have implemented a twitter client in C. I have used xAuth authentication. I have used pagination for each http request for home page/user time line request. Please look the below url, this was used for getting home tweets *http://api.twitter.com/1/statuses/home_timeline.json?page=1* This http request response json data count is 17 other times may be 20 I did not get consistent 20,, I expect the count is 20. My question is to getting 20 count of each http request, what can I do for the http request? Could you please help me.. I am waiting for your response.. Regards, George -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk