Package weibo4j

Examples of weibo4j.Weibo.destroyDirectMessage()


  public static void main(String[] args) {
    System.setProperty("weibo4j.oauth.consumerKey", Weibo.CONSUMER_KEY);
      System.setProperty("weibo4j.oauth.consumerSecret", Weibo.CONSUMER_SECRET);
    try {
      Weibo weibo = getWeibo(true,args);
      weibo.destroyDirectMessage(Integer.parseInt(args[2]));
      List<DirectMessage> list = weibo.getDirectMessages();
      for(DirectMessage msg : list) {
        System.out.println(msg.toString());
      }
    } catch (WeiboException e) {
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.