I want to get the total playing time of the youtube playlist, so first I request the video id for each item in the playlist, and then I request the duration of all the videos.
The limit on the number of items returned by the playlist is 50, so I need to make a few requests until I get to the end of the playlist.
Youtube Data API v3 The document entry for / videos / list says that in the id parameter for api you can list several video identifiers, and that pageToken "not supported for use with the id parameter". Therefore, I can send more than 50 identifiers to return the entire collection, but when I do this, I get a 400 response with the message "The request indicates an invalid filter parameter" ("invalidFilters").
Is there a limit on the number of identifiers you can send? If so, what is it?
source share