Package weibo4j

Examples of weibo4j.Favorite.destroyFavorites()


    Weibo weibo = new Weibo();
    weibo.setToken(access_token);
    Favorite fm = new Favorite();
    String id = "3406785442845028";
    try {
      Favorites favors =fm.destroyFavorites(id);
      Log.logInfo(favors.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here


    String access_token = args[0];
    Favorite fm = new Favorite();
    fm.client.setToken(access_token);
    String id = args[1];
    try {
      Favorites favors = fm.destroyFavorites(id);
      Log.logInfo(favors.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.