Package weibo4j

Examples of weibo4j.Friendships.destroyFriendshipsDestroyById()


    Weibo weibo = new Weibo();
    weibo.setToken(access_token);
    String uid = args[1];
    Friendships fm = new Friendships();
    try {
      User fv =fm.destroyFriendshipsDestroyById(uid);
      Log.logInfo(fv.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here


    String access_token = args[0];
    String uid = args[1];
    Friendships fm = new Friendships();
    fm.client.setToken(access_token);
    try {
      User fv = fm.destroyFriendshipsDestroyById(uid);
      Log.logInfo(fv.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.