Closed (fixed)
Project:
Tweet
Version:
5.x-2.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 May 2011 at 08:48 UTC
Updated:
28 Jun 2011 at 09:02 UTC
The generated links are no longer working since yesterday, as twitter.com made a change. I don't know, what to change in order to make this nice modul run again.
A similiar problem in another tool was solved, maybe it helps to determine, what needs to be changed?
http://drupal.org/node/1161974
Thanks in advance!
Comments
Comment #1
icecreamyou commentedCommitted a fix and created new releases in the 6.x-4.x and 7.x-4.x branches. The 5.x branch has not been maintained since Drupal 7 came out, but you can change it yourself by changing the URL in line 110 of tweet.module from http://twitter.com/home to just http://twitter.com/.
Comment #2
Allthegearnoidea commentedThanks for that fix.. Changing the URL worked.
Thanks again.
Comment #3
MSVZebras commentedThanks for your quick reply, I've changed it and at least that is working again. But what is still strange, is the fact, that blanks from the title and the tweet settings (from the format-field) are changed to "+". This is also something, that happened since the new twitter version came out.
Any idea how to fix this? :o) - Thanks a lot!
Comment #4
icecreamyou commentedAh, crap. I think that changed even since the last update. The fix just requires changing
+to%20in the URL -- will get to it when I get a chance.Comment #5
MSVZebras commentedI think that this is something in this section then?
...but I honestly don't know, what to change, as I'm not into such stuff ;) - I tried to change the + into %20 but that didn't worked for me.
Comment #6
icecreamyou commentedYou just have to drop the last replacement:
Comment #7
MSVZebras commentedThanks again for your quick response, but that didn't helped me, I still have the plusses instead of blanks. Maybe something else, that triggers the replacement/format?
Comment #8
icecreamyou commentedThen you did it wrong. I can't help you more than that; 5.x isn't supported.
Fixed in 6.x-dev; this problem does not exist in 7.x.
Comment #9
MSVZebras commentedIf anyone has the same problem with plus-signs in the title instead of blanks after the twitter-update and when clicking on the tweet-icon of a node, that's what I did now...
Find this in the tweet.module:
$format = str_replace(array('%2523', '%2526', '%252F', '%20'), array('%23', '%26', '%2F', '+'), $format);and change it to this with adding one rule:
That will replace the + to blanks, so no more issues with the title then.
Comment #10
Allthegearnoidea commentedThanks for this, works perfectly now.
Thanks for sticking with it.