Comment.class, Parameter.with("limit", "25"),
Parameter.with("since", sinceTime));
}
LOG.info("Retrieved [" + comments.getData().size() + "] comments");
for (Comment c : comments.getData()) {
User sender = facebookClient.fetchObject(c.getFrom().getId(),
User.class);
String screenName = sender.getUsername().isEmpty() ? sender.getId()
: sender.getUsername();
FacebookMention fbp = new FacebookMention(c.getId(), c.getMessage(),
screenName, c.getCreatedTime().getTime(), postId);
messageReplies.add(fbp);
}
LOG.info("End getPostComments");