buzz.setAccessToken( verificationCode );
/**
* Execute API method to get the list of comments of a post.
*/
BuzzCommentsFeed comments = buzz.getComments( userId, activityId );
/**
* Print results
*/
System.out.println( comments.getTitle() );
if ( !comments.getComments().isEmpty() )
{
for ( BuzzComment comment : comments.getComments() )
{
System.out.print( "Comment Title: " + comment.getContent().getText() );
System.out.println( " | Comment Date: " + comment.getPublished() );
}
}