tunglam236 / QLBH

Automatically exported from code.google.com/p/wittytwitter
0 stars 0 forks source link

Witty used tinyurl URL service when configured for is.gd #226

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create update and paste URL into update
2. Click update
3. Update has is.gd link.
4. Create another update and past URL into update.
5 Click Update.
6. Update has tinyurl.com link instead of is.gd.

What is the expected output? What do you see instead?
exped URLs to compress to is.gd all the time when is.gd is configured the 
URL service.

What version of the product are you using? On what operating system?
2.1 w/ XP SP 2 on VMWare Fusion VM, x86

Please provide any additional information below.

Original issue reported on code.google.com by PeterRit...@gmail.com on 8 Feb 2009 at 4:29

GoogleCodeExporter commented 8 years ago
After tracking this down, I found if you paste a url and press Update, the
ParseTextHereAndTinyUpAnyURLsFound method was not being called if it was within 
the
text limit for the TextBox.  When you click the Update after that, Twitter by 
default
uses the tinyurl.com service and would convert the url, after it was submitted 
via
the API.

Here is a patch to convert the url when sending an update.  There are several 
places
ParseTextHereAndTinyUpAnyURLsFound is called, this was the best spot I could 
think of
to resolve this right now.

Original comment by cbrol...@gmail.com on 10 Feb 2009 at 5:54

Attachments: