Defect #273
getTimeline doesn't honor maxCount when showing retweets
0%
Description
When getting the timeline with retweets I get twice the amount of the maxCount.
History
Updated by Robert Ivens about 14 years ago
This one is really weird.
A maxCount from 1 till 14 give the correct result.
A maxCount of 15 gives 14 back (1 difference).
A maxCount of 16 gives 15 back (1 difference).
A maxCount of 17 gives 15 back (2 difference).
A maxCount of 18 gives 16 back (2 difference).
A maxCount of 19 gives 17 back (2 difference).
A maxCount of 20 gives 18 back (2 difference).
A maxCount of 21 gives 19 back (2 difference).
A maxCount of 22 gives 17 or 37 back (5 or 17 difference).
A maxCount of 23 gives 18 or 21 back (5 or 2 difference).
Etc...
Updated by Robert Ivens about 14 years ago
It looks like this is only an issue with getAccountTimeLine().
All the other functions seem to give back the proper amount of tweets.
Updated by Patrick Talbot about 14 years ago
I cannot tell you how inconsistent the calls to /friends_timeline and /home_timeline are!
There are a couple issues open on the Twitter bug tracker, I think this is actually even worse than what is reported here:
http://code.google.com/p/twitter-api/issues/detail?id=2016
http://code.google.com/p/twitter-api/issues/detail?id=1656
http://code.google.com/p/twitter-api/issues/detail?id=1430
http://code.google.com/p/twitter-api/issues/detail?id=412
http://code.google.com/p/twitter-api/issues/detail?id=1735
http://code.google.com/p/twitter-api/issues/detail?id=2037
I'm trying to workaround that and have managed to get a correct count, but sometimes the tweets themselves are not the one expected!
Updated by Patrick Talbot about 14 years ago
v0.8.3 now returns a consistent number of tweets.
Make sure to update the /plugins/twitter/jtwitter.jar that I have slightly changed for this.
Still the tweets themselves are not consistently returned, and I suspect this has more to do with the Twitter API bugs than a problem in the lib or the plugin...
Updated by Robert Ivens about 14 years ago
- getReplies seems to toggle between no result and my 6 tweets.
- yes the maxCount seems to be a 'suggestion' for twitter it seems.
Updated by Robert Ivens about 14 years ago
- Status changed from In Progress to Closed
Works for me now.