philbot9/youtube-comment-api

Comments end

Closed this issue · 1 comments

How to know that comments are shown completely so I can start another operation with all comments of a video?

Hi there,
You can tell that you have received the last page of comments when there is no "nextPageToken" in the response.

Please note that this project currently uses an older iteration of the YouTube comment system. There appears to be a bug where on some videos the last page may still contain a "nextPageToken". In that case I believe fetching a page with that token will fail.

There's an issue for this here:
philbot9/youtube-comments-task#3