Unique Short URLs

258 views
Skip to first unread message

RC

unread,
Jul 12, 2011, 9:23:31 PM7/12/11
to bitly API
There was a query about the very same thing (http://crushenergy.com/
qKUyM6). But it was 2 years ago. So I figured I ask again.

Is there a way to generate a unique short url for the same long url
everytime it gets shortened? Adding a query string to the long url as
was suggested previously would be tough for me to do since the url
that would be shortened and requires tracking is a public one...user
login is not required to access it.

Thanks for the great service!

a...@bit.ly

unread,
May 1, 2013, 5:21:09 PM5/1/13
to bitl...@googlegroups.com
Hi Jason --

As the previous email implies, the only way to create different links for the same long url via the API is to use different authenticated bitly users OR by adding parameters to the long url that are distinct to the particular users of your site and/or app.

Let us know if you have any other questions or concerns!

Regards,
Andrew

On Wednesday, May 1, 2013 3:44:47 PM UTC-4, Jason Karns wrote:
+1

I also need to do this. As far as I can tell, bit.ly can't do it so I'll be rolling my own shortener, apparently.

On Monday, March 11, 2013 7:08:32 PM UTC-4, nelson morrison wrote:

Madhu Sharma

unread,
Jul 27, 2013, 11:30:00 AM7/27/13
to bitl...@googlegroups.com
Can we authenticate our website users via API? Suppose we want our customers pick a url of their choice from our website and short it using a button on our website only... We will be having emails of the customers who wanna get the short codes...

Thanks in advance. :)

ja...@bit.ly

unread,
Jul 29, 2013, 11:23:52 AM7/29/13
to bitl...@googlegroups.com
You can authenticate your users with Bitly using OAuth 2, if they already have Bitly accounts. http://dev.bitly.com/authentication.html If you used each individual's access token to shorten the same URL, you would get different short URLs.

James

Madhu Sharma

unread,
Aug 10, 2013, 6:45:45 AM8/10/13
to bitl...@googlegroups.com
Hello James, 

Thanks for your kind reply. I am using adding parameters to the long URL technique now. But, I am curious about the number of requests I can make using the api from my asp.net website.

For a brief of the project. My website users will press a button and that click will give them a bitly link(that will redirect the users to my different websites) and they can track the number of clicks on those links within that panel, I am facilitating them to view all clicks on a single screen for all links(Number of API calls will be equal the number of bitly links they generated [maybe 50+] ). And number of users on my website can be more than 50 at a time. [Currently the links will be updated in every 5 minutes if the user is online and want to view the number of clicks].

Thank you so much in advance dear.

Madhu Sharma.




--
--
You are subscribed to the bit.ly API discussion group.
To post, email to bitl...@googlegroups.com
For more options, visit http://groups.google.com/group/bitly-api
 
---
You received this message because you are subscribed to a topic in the Google Groups "bitly API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bitly-api/hHVjvWI2R50/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bitly-api+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

ja...@bit.ly

unread,
Aug 12, 2013, 10:24:36 AM8/12/13
to bitl...@googlegroups.com
Hi Madhu,

We have per-second, per-minute, and per-hour ratelimits. There is not an API endpoint that can get clicks for multiple short URLs at a time, so you will probably want to store those values locally, or send people to the bitly link info page (add a + to the end of the short URL, e.g. https://bitly.com/199tzTA+).

James

Madhu Sharma

unread,
Aug 13, 2013, 1:10:07 AM8/13/13
to bitl...@googlegroups.com
Hello James,

Thanks again for the reply. Yes, I know you have a limit but whats that number :) . Its necessary to know in advance to avoid certain break points in our system. And also, do you have any paid services to increase that limit?

Thank you so much.

Madhu Sharma


You are subscribed to the bitly API discussion group.
for API Documentation visit http://dev.bitly.com/

---
You received this message because you are subscribed to a topic in the Google Groups "bitly API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bitly-api/hHVjvWI2R50/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bitly-api+...@googlegroups.com.
To post to this group, send email to bitl...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages