I've been programming a lot with restfb, but I'm not able to do a counting of comments, only the comments without the answers, the image can better illustrate.enter image description here
My code
Post post = clienteFacebook.fetchObject(idPostagem,
Post.class,
Parameter.with("fields", "comments.limit(0).summary(true)"),
Parameter.with("filter", "toplevel"));
System.out.println("Comments count: " + post.getCommentsCount());
But I need to get only actual comments from the publication, in this example 57 comments.
In https://developers.facebook.com/docs/graph-api/reference/v3.2/object/comments I have some references of filter - toplevel but without success.
I also tested with Comment instead of Post but without success.
How can I get 57 posts in a post?