Twitter TinyURL does not appear to work

kmonty - October 7, 2009 - 16:22
Project:Service links
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review
Description

I am not completely sure if I just have not setup the module correctly or it is broken. However, given the short url settings I have (see attached), I would assume that Twitter would be given tinyurls.

I'm curious if this is a bug (my suspicion) or if I have configured the module incorrectly?

If it is a configuration issue, I would encourage you to add some documentation on this, as it is not clear how to enable tinyurls for twitter.

Using the latest 2.x dev release.

AttachmentSize
Screen shot 2009-10-07 at 9.22.04 AM.png24.03 KB

#1

kmonty - October 13, 2009 - 16:14

Still an issue. Just wondering if the maintainers had any thoughts?

#2

kmonty - November 26, 2009 - 17:13
Priority:normal» critical

This is advertised functionality that does not work so I am marking it as critical.

#3

kmonty - November 26, 2009 - 20:01
Status:active» needs review

Here is a simple patch for the service_links_render function that checks to see if we are generating a Twitter link. If we are, it will return the short URL.

I recognize that this isn't the best approach, perhaps a system in which you could check off which services you want to have a tinyurl would be better, but this is a solid interim solution.

AttachmentSize
service_links-598282.patch 1.17 KB
 
 

Drupal is a registered trademark of Dries Buytaert.