Reputation: 21
I'm using YouTube API documentation to get playlist items (https://developers.google.com/youtube/v3/docs/playlistItems/list).
But the API does not return the nextPageToken
and prevPageToken
properties. So I can't call the next playlist page.
The API call:
https://youtube.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=RDMMfHI8X4OXluQ&key=...
Upvotes: 2
Views: 279
Reputation: 21845
According to my experience the nextPageToken
and prevPageToken
properties can be absent
You can compare:
https://www.googleapis.com/youtube/v3/playlistItems?maxResults=50&playlistId=PL3CF77047DEE78C87&part=snippet,id&type=video&fields=*&key={{YOUTUBE_API_KEY}}
and
https://www.googleapis.com/youtube/v3/playlistItems?maxResults=5playlistId=PL3CF77047DEE78C87&part=snippet,id&type=video&fields=*&key={{YOUTUBE_API_KEY}}
Upvotes: 0