google-apiyoutube-apiyoutube-data-apigoogle-apis-explorer

Why is the Youtube likes playlist only returning "LL"?


I'm using the youtube channels list API with the following parameters to get my liked videos playlist: part: contentDetails, mine: true

I get this response:

"contentDetails": {
    "relatedPlaylists": {
        "likes": "LL",
        "uploads": "REDACTED"

Why is the likes playlist only providing "LL" instead of the playlist ID? Is it no longer supported?


Solution

  • Indeed that's weird that YouTube use such custom PlayList ID and not common random one but you can still access to videos you liked by using the PlayListItems: list YouTube Data API v3 endpoint using playlistId=LL and not using id.