Package weibo4j.model

Examples of weibo4j.model.CommentWapper


    Weibo weibo = new Weibo();
    weibo.setToken(access_token);
    String id = args[1];
    Comments cm =new Comments();
    try {
      CommentWapper comment = cm.getCommentById(id);
      for(Comment c : comment.getComments()){
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here


    String access_token = args[0];
    Weibo weibo = new Weibo();
    weibo.setToken(access_token);
    Comments cm = new Comments();
    try {
      CommentWapper comment = cm.getCommentToMe();
      for(Comment c :comment.getComments()){
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

    String access_token = args[0];
    Weibo weibo = new Weibo();
    weibo.setToken(access_token);
    Comments cm = new Comments();
    try {
      CommentWapper comment = cm.getCommentTimeline();
      for(Comment c : comment.getComments()){
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

    String access_token = args[0];
    Weibo weibo = new Weibo();
    weibo.setToken(access_token);
    Comments cm = new Comments();
    try {
      CommentWapper comment = cm.getCommentByMe();
      for(Comment c : comment.getComments()){
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getPreviousCursor());
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

    String access_token = args[0];
    Weibo weibo = new Weibo();
    weibo.setToken(access_token);
    Comments cm = new Comments();
    try {
      CommentWapper comment = cm.getCommentMentions();
      for(Comment c : comment.getComments()){
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getPreviousCursor());
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

    String access_token = "2.00RQs9XC0gdCQY15dd6eda18QiojdE";
    String id = args[1];
    Comments cm = new Comments();
    cm.client.setToken(access_token);
    try {
      CommentWapper comment = cm.getCommentById(id);
      for (Comment c : comment.getComments()) {
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] args) {
    String access_token = args[0];
    Comments cm = new Comments();
    cm.client.setToken(access_token);
    try {
      CommentWapper comment = cm.getCommentToMe();
      for (Comment c : comment.getComments()) {
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] args) {
    String access_token = args[0];
    Comments cm = new Comments();
    cm.client.setToken(access_token);
    try {
      CommentWapper comment = cm.getCommentTimeline();
      for (Comment c : comment.getComments()) {
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] args) {
    String access_token = args[0];
    Comments cm = new Comments();
    cm.client.setToken(access_token);
    try {
      CommentWapper comment = cm.getCommentByMe();
      for (Comment c : comment.getComments()) {
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getPreviousCursor());
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] args) {
    String access_token = args[0];
    Comments cm = new Comments();
    cm.client.setToken(access_token);
    try {
      CommentWapper comment = cm.getCommentMentions();
      for (Comment c : comment.getComments()) {
        Log.logInfo(c.toString());
      }
      System.out.println(comment.getNextCursor());
      System.out.println(comment.getPreviousCursor());
      System.out.println(comment.getTotalNumber());
      System.out.println(comment.getHasvisible());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

TOP

Related Classes of weibo4j.model.CommentWapper

Copyright © 2018 www.massapicom. 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.