Package weibo4j

Examples of weibo4j.Weibo.reply()


            //最新一条微博信息id
            String sid = list.get(0).getId()+"";
            List<Comment> comments = weibo.getComments(sid);
            if(comments.size() > 0) {
              String cid = comments.get(0).getId()+"";//评论的id
              Status status = weibo.reply(sid, cid, "回复内容");//args[3]:回复内容
              System.out.println(status.toString());
            }
          }
    } catch (Exception 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.