Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3756

Youtube Data API pageToken not registering

$
0
0

I am trying to scrape all of the comments on a youtube video, but when I provide a pageToken it ignores it and just returns the data I already have.

Example:When I use the following URLhttps://youtube.googleapis.com/youtube/v3/comments?part=snippet&maxResults=100&parentId=[Parent ID of comment]&pageToken=[The nextPageToken of the previous fetch]&key[My API key]

It returns the same thing as this:https://youtube.googleapis.com/youtube/v3/comments?part=snippet&maxResults=100&parentId=[Parent ID of comment]&key[My API key]

Since it keeps returning the same data, it also returns the same pageToken and the program I wrote gets into an infinite loop.


Viewing all articles
Browse latest Browse all 3756

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>