tinyurl

Using tinyurl.com in a .Net application ... possible?

I found the following code to create a tinyurl.com url: http://tinyurl.com/api-create.php?url=http://myurl.com This will automatically create a tinyurl url. Is there a way to do this using code, specifically C# in ASP.NET? ...

Python: Convert those TinyURL (bit.ly, tinyurl, ow.ly) to full URLS

I am just learning python and is interested in how this can be accomplished. During the search for the answer, I came across this service: http://www.longurlplease.com For example: http://bit.ly/rgCbf can be converted to: http://webdesignledger.com/freebies/the-best-social-media-icons-all-in-one-place I did some inspecting with Fir...

How to use jQuery to produce TinyURL

I'm trying to build a jQuery function that will allow me to produce a TinyURL from some other link for micro blogging reasons (yes, twitter)... I found this tutorial from James Padolsey, but am not getting a response back from the call. http://james.padolsey.com/javascript/create-a-tinyurl-with-jsonp/ function requestShortURL(longURL,...

Do any URL Shortening services with link tracking have a https accessible url?

I have three websites that I want to generate tiny urls for search result pages every time someone clicks search. I like the http://bit.ly api and the fact that it offers tracking. However, it requires me to provide a password and does not offer ssl support. Does anyone know of a similar service that offers tracking, and a https accessib...

TinyUrl solutions for intranet portals

I'm currently researching solutions that converts SharePoint's lengthy urls to tiny/clean urls. There seems to be plenty of solutions for public sharepoint portals but I'm looking for an open source solution that i could for my intranet portal site. References to any articles or blog site that covers this issue would be great. ...

Create TinyURL via Jquery Ajax call

I've looked through simiilar questions on SO, but can't seem to find one addressing what seems like a simple call.. function TweetThis(url) { $.ajax({ url: "http://tinyurl.com/api-create.php?url=" + url, cache: false, success: function(data){ alert(data); } }); } Basically I want to call TinyURL ...

Is there an advantage to building my own tinyURL-like function/service over using third party resources?

I've seen the many different ways I can build a function/service to generate short URLs which I can then control via my own domain. This sounds like a great idea; however, as I look at the advantages such as being able to control these URLs long term, adjusting the end location if needed have more tracking over where they wind up, etc. ...

fastest code to generate unique base62 hashes

hey guys i want to generate unique base62 hashes - something similar to what tinyurl and bit.ly do using c#. this would be based on an auto increment field ID of type bigint (like most of these sites) min chars would be 1 and max chars would be 6... if you had to write the fastest code (least amount of cpu usage) in c# for this hash how...

How to make unique short URL with Python?

How can I make unique URL in Python a la http://imgur.com/gM19g or http://tumblr.com/xzh3bi25y When using uuid from python I get a very large one. I want something shorter for URLs. ...

Track a short URL generated for a long URL

I'm writing a URL shortener similar to tinyurl and I'm wondering how to keep track of URL's that are already shortened using my service? For example, tinyurl generates the same tiny URL for the same long URL regardless of who creates it. How can this be achieved that is scalable? Bitly also does this though they generate a new URL per pe...

Tinyurl API Example - Am i doing it right :D

Hi ... we use super-long Hashes for the Registration of new Users in our Application. The Problem is that these Hashes break in some Email Clients - making the Links unusable. I tried implementing the Tinyurl - API, with a simple Call, but i think it times out sometimes ... sometimes the mail does not reach the user. I updated the Code...

[Python] Detect destination of shortened, or "tiny" url

I have just scraped a bunch of Google Buzz data, and I want to know which Buzz posts reference the same news articles. The problem is that many of the links in these posts have been modified by URL shorteners, so it could be the case that many distinct shortened URLs actually all point to the same news article. Given that I have millio...

What is mangling tinyurls?

Hello all. I've noticed that some form processors make a mess out of posted TinyURLs (converting the thing to a broken 'tinyurl": "http:\/​\/​tinyurl.com\/​whatever", "ok": tr') while leaving alone other plain URLs. I've seen it happen in WordPress, and I've seen it here on SO (eg.: http://stackoverflow.com/questions/2508690/whats-the-m...

Trying to create tiny urls, getting redirect loop.

I'm trying to create tiny urls like this: site.com/abc123 goes to: site.com/index.php?token=abc123 but I keep getting redirect loops no matter what I try, or it tries to redirect to index.php?token=index.php.. Current .htaccess is: Options +FollowSymLinks Options -MultiViews RewriteEngine On RewriteRule ^([^/]*)$ /index.php...

Long URLs (Bitly and TinyURL)

I'm sitting with a problem where I need to pass more than 2000 characters from my Flash application to an HTML page which reads the information and displays the correct options made in the Flash app the person came from. All's good but on the final stage, when the user needs to post their choices to a form, the character cannot be sent ...

How does tiny url work

I have been wondering how tiny url works. I would like to develop something similar for my site, but as most people, I use GUIDs for ids. When an object is created, should I then generate a 10 character random string to use as public id, or is there a smarter approach? Example of old url: www.mysite.com/default.aspx?userId={id} Exampl...

How to generate unguessable "tiny url" based on an id?

Hi there, I'm interested in creating tiny url like links. My idea was to simply store an incrementing identifier for every long url posted and then convert this id to it's base 36 variant, like the following in PHP: $tinyurl = base_convert($id, 10, 36) The problem here is that the result is guessable, while it has to be hard to guess...

IIS URL Rewriting/Forwarding Tiny URL

Hi all, I would like to rewrite/forward an URL on our internal network: request: http://shortcut/74b32 rewriting: http://myserver/Default.aspx?id=74b32 I already have a DNS entry for shortcut that points to myserver. myserver runs IIS6. How can I implement the final mapping? Thanks a lot chris ...

Check that url already exsists in the database and outputting the exsisting created url

I've created a script called spiralurl (tiny url script). I'm still learning and making changes as I go. One thing I can't get fixed is to check that the user entered url already exists in the database, if it does exist I want output to the user the already shorted url previously created. Script is at: http://redspiral.net/spiralurl An...