Examples of longToShortUrl()


Examples of weibo4j.ShortUrl.longToShortUrl()

    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();
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.