Closed GoogleCodeExporter closed 9 years ago
I can confirm this. I get
net.sf.json.JSONException:
JSONObject["http://blog.ttxgp.com/index.php?op=ViewArticle&articleId=74&blogId=1
"]
not found.
at net.sf.json.JSONObject.get(JSONObject.java:1449)
at net.sf.json.JSONObject.getJSONObject(JSONObject.java:1536)
at com.rosaloves.net.shorturl.bitly.ResponseImpl.getJSONResult(ResponseImpl.java:39)
at com.rosaloves.net.shorturl.bitly.BitlyImpl.shorten(BitlyImpl.java:62)
Original comment by bohtvaroh@gmail.com
on 9 Sep 2009 at 3:30
The problem is with '&' character. Without it shortening works fine.
Original comment by bohtvaroh@gmail.com
on 9 Sep 2009 at 3:37
Here is alternative simple shortener client with only apache commons-httpclient
dependency (see attach).
Original comment by bohtvaroh@gmail.com
on 9 Sep 2009 at 4:55
Attachments:
fixed via urlencoding the longUrl - must have missed that ;)
Original comment by ch...@rosaloves.com
on 7 Oct 2009 at 3:26
Original issue reported on code.google.com by
reiki...@gmail.com
on 29 Jun 2009 at 4:49