What Java API code to use to retrieve more than 50 comments for selected video? Or this is impossible?
Thanks!
What Java API code to use to retrieve more than 50 comments for selected
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to the documentation, the maximum value for the max-results parameter is 50. However, it is possible to create a loop that reads 50 items per iteration using the start-index parameter:
Notes:
openSearch$totalResultswhich gives you (approximate) number of total results. Or you can exit the loop when you get less than 50 results.alt=rssoralt=atomif you want data in XML formatprettyprint=trueparameter is added for readability only