Please change the default to https://twitter.com to avoid problems with tweets that include hashtags.
Using the default search url (http://search.twitter.com) results in this error when a hashtag is clicked on in a tweet:
The Twitter REST API v1 is no longer active. Please migrate to API v1.1.
https://dev.twitter.com/docs/api/1.1/overview
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | twitter-new-search-api-2182945-1.patch | 3.68 KB | alexdmccabe |
Comments
Comment #1
alexdmccabeI changed the title to reflect the fact that I modified the
drush twitter-searchcommand as well, to both use the Twitter object and the 1.1 API.I didn't include an implementation of hook_update_N as the setting should automagically update for users who haven't manually set it, and if they have manually set it, we don't want to be overwriting their manual settings.
Comment #2
alexdmccabeAlso assigning to myself and setting to "Needs review" so the tests will run.
Comment #3
alexdmccabeCommenting again in hopes of getting the test to run...
Comment #4
juampynr commentedMade a few changes on top of your patch.
http://drupalcode.org/project/twitter.git/commit/d444d5a
http://drupalcode.org/project/twitter.git/commit/3e4ced8
Thanks!
Comment #5
juampynr commentedDuplicate of #2138341: Search links use V1.0 URL by default
Comment #6
damienmckennaThe fix was committed in this issue, so the other one is the duplicate.