Hey Rob,
Can you share the exact URL you are requesting. When I use the count
parameter with a value of 1 I only get 1 tweet back. The URL I am requesting
looks like this:
https://api.twitter.com/1/statuses/home_timeline.json?count=1
Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris
On Tue, Mar 8, 2011 at 10:45 PM, Rob Wilson <[email protected]> wrote:
> Hi,
>
> When my application first starts up, I want to display only the very
> last tweet, so I ask for the timeline with the COUNT parameter set to
> 1, oddly I then receive say 20-30 tweets.
>
> I then plan to periodically ask for any new tweets since the highest
> ID last returned, then keep repeating the request for new tweets.
>
> Why do I receive more than one tweet in the return? If I set it to 20
> or 30, I still get the same size XML returned. I've tried it with a
> PAGE=1, but that didn't seem to make any difference. The API
> documentation implies that this should all be okay; it should return x
> tweets.
>
> Thanks,
> Rob.
>
> --
>
>
> Please visit...
>
> SpikyOrange.co.uk A portal for anything I create, including...
>
> BitBanter.com A technical podcast 50% Tech + 50% software development
> = 100% Entertaining!
>
> --
> 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