LouCypher / shortenurl

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

bit.ly and j.mp don't work #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Browser: Mozilla Firefox
Browser version: 3.6.15
Operating System: Windows 7 Ultimate x64
User agent: (leave blank if you're not sure)
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 
Firefox/3.6.15
Shorten URL version: 0.3.6

When I'm trying to shorten URL using services bit.ly or j.mp, warning message 
box appears with one word "FAIL!". And nothing more happens.. Some other 
services (ex. TinyURL) works great and fast.

Original issue reported on code.google.com by aXe0...@gmail.com on 10 Mar 2011 at 1:55

GoogleCodeExporter commented 9 years ago
I reproduced error by hands using string from source code that ShortenURL uses 
for j.mp and bit.ly and here is return from server:
RATE_LIMIT_EXCEED

Could you make per-service settings with api key and etc? Maybe leave default, 
but add feature to override with users own credentials?

Original comment by aXe0...@gmail.com on 10 Mar 2011 at 2:18

GoogleCodeExporter commented 9 years ago
I also have this problem for Firefox 4. An error description would be nice 
instead of "FAIL!".

Original comment by miscsub...@gmail.com on 8 May 2011 at 3:35

GoogleCodeExporter commented 9 years ago
If you have bit.ly account:
1. login to http://bit.ly/a/account
2. from there, copy your API key
3. type 'about:config' in URL bar and press Enter
4. type 'api.bit.ly' in Filter textbox
5. double click the entry item to edit and replace 
R_9781b0da8391ffe5de4f63c4205ed372 with your API key

Sorry for the inconvinience.
I will add user option in the future to use their own API keys

Original comment by zoolcar9 on 8 May 2011 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by zoolcar9 on 8 May 2011 at 4:20