-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Twitter's API 1.1 , v1 goes away in March 2013 #15
Comments
Yeah, this breaks things. For example, statuses/update.xml is no longer supported. |
I looked into it today. Changing over the API version isn't that hard. However, all API requests now have to be authenticated, with OAuth. Most of the examples have to be redone for this. And indeed XML is now no longer supported. Fortunately, the streaming API implementation is already parsing JSON, so I think we can change around some things so that those object classes can be used for the 'normal' API as well. |
Attempting to research this some more and am hitting this issue https://dev.twitter.com/discussions/11280 The symptom was for statuses/update.json requests that worked in version 1 failed in 1.1 with http error 401 and twitter error code 32. Figured I would dump something here as perhaps it may help somebody else. I'm still boggling how to fix it. update , looks like the problem is with messages with a '/' in them urllib.quote does not convert / , maybe it should be urllib.quote_plus ? |
7 May 2013 is the last day for v1 |
Twitter has harmonised the version numbers of the Streaming API endpoints so that they are all numbered 1.1. All previous endpoints have been deprecated and will stop working Real Soon Now™. This partially addresses dustin#15.
As the retirement date for the v1 API has been extended to June 11, I took some time to look at this again.
It turns out that a bunch of the methods use API endpoints that were either deprecated or removed in API v1, and no longer exist in v1.1. Also, the way paging is done has changed and the old way doesn't work anymore. I'm wondering if it is worthwhile to convert these methods or just drop them. To whoever is reading this, which methods of |
Hey just started playing with this library yesterday and just now realized the update method doesn't work with twittytwisted.twitter.Twitter. I can get streaming updates with the TwitterFeed, but I need to be able to write out status to the timeline. What can I do to help? |
@mmichie: basically Twitter deprecated and shutdown the old API endpoints. This library supports v1.1 for the Streaming API, but the other APIs, like the update one you mention, require a whole bunch of non-trivial changes as outlined above. So far, nobody has expressed enough interest to work on this, and I personally only use the Streaming API stuff. |
Looks like version 1 is depreciated in early March!
https://dev.twitter.com/blog/planning-for-api-v1-retirement
Not sure if this breaks any of the code or not. Just investigating myself. Thanks again for this library
The text was updated successfully, but these errors were encountered: