使用`twitter4j`在我的推特墙上发布帖子/回复?

时间:2015-10-03 21:10:39

标签: java twitter response twitter4j

我有追随者。如何使用post在我的Twitter墙上获得twitter4j响应?

  User u1 = null ;
  long cursor = -1;
  IDs ids;
  System.out.println("Listing followers's ids.");
  do {
          ids = twitter.getFollowersIDs("Elfrania1", cursor);
      for (long id : ids.getIDs()) {
          System.out.println(id);
          User user = twitter.showUser(id);
          System.out.println(user.getName());             
      }
  } while ((cursor = ids.getNextCursor()) != 0);

0 个答案:

没有答案