rekbun / bitlyj

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

RATE_LIMIT_EXCEEDED #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.get a list of a thousand URL for and RSS service
2.looping the list of URLs and shorting each URL at a time
3.a RATE_LIMIT_EXCEEDED

What is the expected output? What do you see instead?
a shortened url for each url. 

What version of the product are you using? On what operating system?
we are using the latest version on a windows server, and developing using .net 
framework

Original issue reported on code.google.com by mmalse...@gmail.com on 23 Nov 2011 at 1:14

GoogleCodeExporter commented 9 years ago
Hello,

This is not an issue in the bitlyj library, but a result of issuing too many 
API requests within a given time window. Please read bitly's tips for dealing 
with this here: 
http://code.google.com/p/bitly-api/wiki/ApiBestPractices#Rate_Limiting, as well 
as an exchange with another bitlyj user here: 
http://groups.google.com/group/bitlyj-users/browse_thread/thread/4600c3f95f9e988
9.

Just to be clear, you are using bitlyj (a java library) with .net? How is that 
possible?

-chris

Original comment by ch...@rosaloves.com on 26 Nov 2011 at 1:19

GoogleCodeExporter commented 9 years ago
sorry for this mistake it is supposed to be posted on the dot net bitly
project.

Thank you.

Original comment by mmalse...@gmail.com on 27 Nov 2011 at 1:39

GoogleCodeExporter commented 9 years ago
OK, a quick comment here for other users /  because I didn't catch this 
directly:

Url url = 
as("bitlyapidemo",APIKEY).call(shorten("http://rosaloves.com/stories/view/13"));

don't forget to change the "bitlyapidemo" = your USERNAME that you can find 
here:

http://bitly.com/a/your_api_key

Original comment by hubert.d...@gmail.com on 15 Jun 2012 at 12:27

GoogleCodeExporter commented 9 years ago
It will be nice to have an exponential back-off support as part of this library.

Original comment by sukrit.k...@meltmedia.com on 4 May 2014 at 11:16