configuring twitter module to work with other url shortening services
iteego - June 19, 2009 - 16:29
| Project: | |
| Version: | 6.x-2.6 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm curious if its possible to change the default url shrinking service in the module code? I'd like to use ow.ly because of the statistics they offer on HootSuite. Thanks. Kevin

#1
Same here. I'd like to know if this is possible as well.
#2
@twitter.module
line 150: $response = drupal_http_request("http://tinyurl.com/api-create.php?url=" . $url);
you'll just have to replace that api url with the one you are interested in.
like if you wish to go for bit.ly then just take a look at their api documentation and act accordingly.
#3
careless reader am i :)
ow.ly api is still under development from what i've read. there's a request form on their site under the Developer API link where you can sign up and be informed when it's ready.