gfcapalbo / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

The "since" param in GetUserTimeline() doesn't work #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've tried several times on my account and each time I get is the latest 20 
tweets.

And also, I think, there is a problem in the test case (from the 
testGetUserTimeline(self) method in 
twitter_test.py) of this param.

The twitter account used in the test case, http://twitter.com/kesuke, has only 
7 tweets, which is 
less than 20. I've tested the same use of GetUserTimeline() with "since" param 
in the test case in my 
code and get all of the 7 tweets in that twitter account. So I think that piece 
of test case doesn't test 
the code properly.

Original issue reported on code.google.com by uiltr...@gmail.com on 21 Apr 2009 at 2:04

GoogleCodeExporter commented 9 years ago
http://apiwiki.twitter.com/REST+API+Changelog
April 8, 2009
    * Changed (REST): The since parameter and If-Modified-Since header are no longer
supported.

Original comment by maextr...@gmail.com on 21 Apr 2009 at 3:31

GoogleCodeExporter commented 9 years ago
You have to use "since_id" instead. Same at GetFriendsTimeline() btw.

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-friends_timeline

Original comment by darknea...@gmail.com on 15 Jun 2009 at 2:46