Why does getReplies() in CommentThread return only a limited number of replies? At first i didn't really understand, but having tested it, it doesn't return all the replies, and I guess that what it meant. Is there anyway to get all the replies?
Send in a higher maxResults parameter. The default is 20, but it can go up to 100. Disallowing higher values is probably meant to keep responses small (so no 10MB responses if there are many replies).
Use the pageToken to call a next page. The value is returned in the previous response's nextPageToken field. That means that, to get all replies, you will need to loop until there is no more nextPageToken.
You can use the response's pageInfo.totalResults and pageInfo.resultsPerPage to determine how many pages are needed.
Initially, I could not get all the comments, but as, Rob Spoor, stated it returned them in pages, and I soon figured that out. However, on one of the top level comments who replies were copious, it become apparent what the term "limited", stated by the documentation meant. No easy solution as revealed itself to me. I'm wondering what reason they have to limit the replies. Maybe its storage, but then again they are Google, so should have no problem with that!
Well don't expect me to do the dishes! This ad has been cleaned for your convenience: