String access_token = args[0];
String url = args[1];
ShortUrl su = new ShortUrl();
su.client.setToken(access_token);
try {
JSONObject jo = su.longToShortUrl(url);
System.out.println(jo.toString());
} catch (WeiboException e) {
e.printStackTrace();
}
}