Comments (4)
Thanks for the patch. Agreed, we should definitely add support for 'since_id'.
However, it seems to break the tests when I applied it. Can you verify by
running
twitter_test.py, please?
Original comment by dclinton
on 15 Jul 2008 at 6:18
- Changed state: Accepted
from python-twitter.
Nothing new breaks for me... the only tests which dont work are the sample user
tests, as it appears that the
information in Twitter has changed.
===================================================================
===
FAIL: Test the twitter.Status AsJsonString method
----------------------------------------------------------------------
Traceback (most recent call last):
File "./twitter_test.py", line 122, in testAsJsonString
self._GetSampleStatus().AsJsonString())
AssertionError: '{"created_at": "Fri Jan 26 23:17:14 +0000 2007", "id":
4391023, "text": "A
l\\u00e9gp\\u00e1rn\\u00e1s haj\\u00f3m tele van angoln\\u00e1kkal.", "user":
{"description": "Canvas. JC
Penny. Three ninety-eight.", "id": 718443, "location": "Okinawa, Japan",
"name": "Kesuke Miyagi",
"profile_image_url":
"http:\\/\\/twitter.com\\/system\\/user\\/profile_image\\/718443\\/normal\\/kesu
ke.png",
"screen_name": "kesuke", "url": "http:\\/\\/twitter.com\\/kesuke"}}' !=
'{"created_at": "Fri Jan 26 23:17:14
+0000 2007", "id": 4391023, "text": "A l\\u00e9gp\\u00e1rn\\u00e1s haj\\u00f3m
tele van
angoln\\u00e1kkal.", "user": {"description": "Canvas. JC Penny. Three
ninety-eight.", "id": 718443, "location":
"Okinawa, Japan", "name": "Kesuke Miyagi", "profile_image_url":
"http://twitter.com/system/user/profile_image/718443/normal/kesuke.png",
"screen_name": "kesuke", "url":
"http://twitter.com/kesuke"}}'
===================================================================
===
FAIL: Test the twitter.User AsJsonString method
----------------------------------------------------------------------
Traceback (most recent call last):
File "./twitter_test.py", line 225, in testAsJsonString
self._GetSampleUser().AsJsonString())
AssertionError: '{"description": "Indeterminate things", "id": 673483,
"location": "San Francisco, CA", "name":
"DeWitt", "profile_image_url":
"http:\\/\\/twitter.com\\/system\\/user\\/profile_image\\/673483\\/normal\\/me.j
pg", "screen_name":
"dewitt", "status": {"created_at": "Fri Jan 26 17:28:19 +0000 2007", "id":
4212713, "text": "\\"Select all\\" and
archive your Gmail inbox. The page loads so much faster!"}, "url":
"http:\\/\\/unto.net\\/"}' != '{"description":
"Indeterminate things", "id": 673483, "location": "San Francisco, CA", "name":
"DeWitt", "profile_image_url":
"http://twitter.com/system/user/profile_image/673483/normal/me.jpg",
"screen_name": "dewitt", "status":
{"created_at": "Fri Jan 26 17:28:19 +0000 2007", "id": 4212713, "text":
"\\"Select all\\" and archive your Gmail
inbox. The page loads so much faster!"}, "url": "http://unto.net/"}'
Original comment by [email protected]
on 19 Jul 2008 at 2:20
from python-twitter.
I have applied the patch and the api is working fine. All tests also pass for
me,
with the exception of the two above.
Original comment by sam%[email protected]
on 27 Sep 2008 at 6:49
from python-twitter.
Fixed in trunk at r130
(http://code.google.com/p/python-twitter/source/detail?r=130).
Please verify.
Original comment by dclinton
on 21 Feb 2009 at 5:15
- Changed state: Fixed
from python-twitter.
Related Issues (20)
- Character Limit does not accurately match URL t.co wrapper
- NewFromJsonDict AttributeError HOT 2
- "UnicodeEncodeError: 'ascii' codec can't encode characters" during GetSearch() for utf-8 encoded search terms
- Current head (dca91beb7418) has a failing unit test HOT 1
- 404 - Dependency issue? HOT 1
- README.md did not get up to speed HOT 1
- Pip Install from source fails (google code) HOT 3
- api.GetMentions errors HOT 1
- import twitter produces AttributeError: 'module' object has no attribute 'Http' HOT 1
- Getting {“errors”:[{“message”:“Bad Authentication data”,“code”:215}]} using python-twitter API v1.0 HOT 5
- Direct Messages failing HOT 3
- GetPublicTimeline() is referenced in docs but not implemented HOT 1
- python 3.x HOT 2
- GetUser gives a "page does not exist 34" HOT 2
- remove dependency to python-oauth2 switch to oauthlib HOT 2
- GetUserTimeLine does not work
- status of python-twitter-1.1
- api.CreateList returns UnboundLocalError
- Cannot be installed with Pip HOT 2
- User behind a proxy will face a problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-twitter.