Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
bitlyj 2.0 beta - have your say
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - 3 new - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
chris@rosaloves.com  
View profile  
 More options Jul 18 2010, 12:19 pm
From: "ch...@rosaloves.com" <ch...@rosaloves.com>
Date: Sun, 18 Jul 2010 09:19:12 -0700 (PDT)
Local: Sun, Jul 18 2010 12:19 pm
Subject: bitlyj 2.0 beta - have your say
Users of bitlyj,

This weekend I resumed work on bitlyj, (re)writing it with a much
simpler, better, usage-driven design. I apologize for allowing it to
stagnate for so long, and I hope you give 2.0 a try. When you do, I
feel certain you will agree that its API is not only much nicer, but
the library as a whole simply better.

* Error handling. With bitlyj 1, one of the most common complaints was
cryptic error messages, usually in the form of json-lib parsing
errors. With bitlyj 2, this has been rectified. If an I/O error
occurs, it is noted in the exception. If a parsing error occurs, it is
noted with a specific message. If bitly responds with an error code,
the code and its message are used in the exception. If the response
can't be understood for some reason, that is specifically noted as
well. Further, there are no checked exceptions. Any such exception is
dealt with internally and wrapped/re-thrown as an unchecked exception
(BitlyException is unchecked).

* Zero dependencies. The last version required json-lib to consume the
json output of bitly. It could have been a different library, but xml
was simply not an option because of a long-standing problem in how
bitly generated xml. The xml was invalid, and so most parsers would
fail. I opened the original ticket (http://code.google.com/p/bitly-api/
issues/detail?id=2), which idled a month short of a year before being
addressed. Finally, when bitly released v3, the problem was addressed.

* Super-easy to use. Refer to the QuickStart (http://code.google.com/p/
bitlyj/wiki/QuickStart) for more details, but the essence of
interaction is this:
as("bitlyapidemo",
"R_0da49e0a9118ff35f52f629d2d71bf07").call(shorten("http://
rosaloves.com/"));

* Extensibility. The original design of bitlyj defined a monolithic
java interface with methods bound to those exposed by bitly. If a new
method was introduced or deprecated, there was no way to reflect this
without releasing an updated version of the library. bitlyj 2.0 with a
simple command-style interface, so rolling new methods or your own
versions of existing ones is cake. Bitly-powered endpoints other than
bit.ly and j.mp are also easy to interface with.

I also intend to fully support android. bitlyj 2 may already support
android, but I haven't tested it yet.

bitlyj 2 is available now - I'll call it beta. It has a comprehensive
test suite, but I want more real usage, and more importantly, I want
to know if it suits your needs. If something is missing, working
poorly, or not at all, I will address it.

Start using it now as a maven snapshot, or just grab the jar from the
project site. The snapshot is available on the sonatype oss snapshot
repository (https://oss.sonatype.org/content/repositories/snapshots/):

<dependency>
        <groupId>com.rosaloves</groupId>
        <artifactId>bitlyj</artifactId>
        <version>2.0.0-SNAPSHOT</version>
</dependency>

Thanks for your input!

-chris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chris@rosaloves.com  
View profile  
 More options Jul 18 2010, 2:13 pm
From: "ch...@rosaloves.com" <ch...@rosaloves.com>
Date: Sun, 18 Jul 2010 11:13:54 -0700 (PDT)
Local: Sun, Jul 18 2010 2:13 pm
Subject: Re: bitlyj 2.0 beta - have your say
Update: I've just committed a fix to get bitlyj working on android.
I'd like to hear from some android hackers how it works for them. You
can grab the code, the published download (it's up to date)
http://code.google.com/p/bitlyj/downloads/list, or grab from the
sonatype oss snapshots repo. Thanks!

-chris

On Jul 18, 12:19 pm, "ch...@rosaloves.com" <ch...@rosaloves.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julien S  
View profile  
 More options Jul 20 2010, 8:29 am
From: Julien S <julien.sma...@gmail.com>
Date: Tue, 20 Jul 2010 05:29:44 -0700 (PDT)
Local: Tues, Jul 20 2010 8:29 am
Subject: Re: bitlyj 2.0 beta - have your say
Thanks Chris,

you did a great job.

I'm using your API for my personnal project. It's in alpha version.
My project allows users to compose their own rss feeds with other rss
feeds. All feed updates are send by email or by tweet.
I use you API to shorten URL within tweets.

Julien

On 18 juil, 20:13, "ch...@rosaloves.com" <ch...@rosaloves.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chris@rosaloves.com  
View profile  
 More options Jul 20 2010, 7:11 pm
From: "ch...@rosaloves.com" <ch...@rosaloves.com>
Date: Tue, 20 Jul 2010 16:11:40 -0700 (PDT)
Local: Tues, Jul 20 2010 7:11 pm
Subject: Re: bitlyj 2.0 beta - have your say
Glad to hear you find it easy to use :)

On Jul 20, 8:29 am, Julien S <julien.sma...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic