Skip to content

Max results #110

Answered by mattwright324
gmarsanich asked this question in Q&A
Mar 18, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @gmarsanich

As per the CommentThreads: list the maxResults per page is 100. However, if you include the replies part on the request you can get up to 5 replies to each thread returned. So theoretically you could get a maximum of 100 thread comments + 500 reply comments.

If the goal is to get everything (such as with this application) you would need to still query the replies for threads where there are more than 5 replies. A large majority of threads have 5 or fewer replies so it works well to reduce the amount of calls and quota used.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gmarsanich
Comment options

Answer selected by gmarsanich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants