Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.