Questions tagged [tinyurl]

TinyURL is a URL shortening service, a web service that provides short aliases for redirection of long URLs.

Short URL aliases are seen as useful because they are easier to write down, remember or pass around, are less error-prone to write, and also fit where space is limited such as Twitter.

Kevin Gilbertson, a web developer, launched the service in January 2002 so that he would be able to link directly to newsgroup postings that frequently had long and cumbersome addresses.

68 questions
1
vote
1 answer

URL shortend not working

I'm using tinyurl for making url's short. If I create it via site it's working. But when i created via api it's not working. If mu url have # it's not working other wise it's fine. Eg: http://example.com/web/#/details/12/23 My code: $ch =…
Gowri
  • 1,832
  • 3
  • 29
  • 53
1
vote
3 answers

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…
Gary
  • 961
  • 3
  • 9
  • 16
1
vote
2 answers

Tiny URL redirection works in browser, but from curl returns 200 instead of 301

This looks weird to me, may be I'm missing something obvious. Following is a sample tinyurl: http://tinyurl.com/67lwfe it works for my browser, redirects properly to the desired page. But when I try using curl like the following: curl -I…
Masum
  • 1,678
  • 15
  • 19
1
vote
2 answers

generated TinyURL doesn't work on Android WebView

I am working in a registration module of an application, using a web service returning a generated TinyURL corresponding to the new user. This TinyUrl gives to the user the access to the platform, by WebView. Problem : The WebView works very well…
ahmed_khan_89
  • 2,755
  • 26
  • 49
1
vote
1 answer

Syntax for Tinyurl custom alias?

I have the following code which submits links to Tinyurl: for u in tinyurl.create('http://audiotechracy.blogspot.co.uk/2014/03/reviewing-synapse-antidote-rack.html', …
gdogg371
  • 3,879
  • 14
  • 63
  • 107
1
vote
1 answer

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…
java_pill
  • 843
  • 3
  • 13
  • 23
1
vote
0 answers

json-tinyurl - more quota than is available

I am having some problems when I try to use json-tinyurl. When I am using this I am getting this message: foo({"ok": false, "error": "The API call urlfetch.Fetch() required more quota than is available."}) There is also this message here: "JSON (and…
alexandros
  • 644
  • 1
  • 7
  • 16
0
votes
1 answer

TinyURL with facebook comments plugin

I am trying to use TinyURL with facebook comments plugin and running into some issues because of the fb_comment_id that gets tacked on by facebook for the links on the wall. What I intend to do is when user clicks on the link on the wall comment, I…
user1181950
  • 779
  • 1
  • 9
  • 21
0
votes
1 answer

Share 301 status code URLs on Facebook

When I am sharing a URL which have 301 status code with Location header but I found that Facebook didn't fetch contents from destination page but when I share URL of tinyurl.com facebook fetch all contents from destination page and this url also…
0
votes
1 answer

integrating tiny url with codeigniter

I have PHP code for shortening a URL. I want to integrate it with CodeIgniter. How can I do this? I have 3 pages: index.php, page.php and a .htaccess file and one database backup…
Kichu
  • 3,284
  • 15
  • 69
  • 135
0
votes
3 answers

AS3 - I can't get a string value returned from a function

AS3 code, from a sample, I want to have the value in the string 'location' available to other parts of the main program. It returns fine in the completed handler, but how do I make it available to the first part? package { import…
0
votes
1 answer

Tiny URL Desing - Zero Collision Design with ZooKeeper - Issues

Here is a popular design available in internet of Tiny URL application: The application is loadbalanced with the help of a zookeeper, where each server is assigned a counter range registerd with zookeeper. Each application is having an locally…
0
votes
1 answer

How can URL shorteners (Service Provider) be more secure?

As a short URL service provider what safety checks I should follow on URLs to keep minimum risk on my users. For example someone should not use my service to short their hacking, spamming, phishing, etc type of links. For example I can do domain…
Solo
  • 69
  • 1
  • 10
0
votes
1 answer

Modify Tinyurl Google Script Function for Sheets

I've been using this function to shorten links (Get range, if length over 200, copy and paste over new tinyurl link in same cell). But I wanna modify it to take active cell or active range instead of input range from UI prompt response. In this case…
Debs
  • 133
  • 7
0
votes
3 answers

I am trying to make an URL shortener and I am facing this problem

This is the python code: import pyshorteners as p link=input("Enter the link: ") shortner=p.tinyurl.short(link) x=shortner.tinyurl.short(link) print(x) This is the error: module 'pyshorteners' has no attribute 'tinyurl'