jwilsson / spotify-web-api-php

A PHP wrapper for Spotify's Web API.
MIT License
862 stars 156 forks source link

createPlaylist #234

Closed rac-andreharry closed 3 years ago

rac-andreharry commented 3 years ago

Hey guys,

Question on the "createPlaylist" method.

Any reason why method using the following URI POST /v1/me/playlists instead of POST /v1/users/{userId}/playlists

Screenshot 2021-08-23 at 17 31 31

Looking at the official documentation, the correct URI is POST /v1/users/{userId}/playlists https://developer.spotify.com/documentation/web-api/reference/#endpoint-create-playlist

POST /v1/me/playlists is working fine, however, I worried that Spotify might drop it without warning and it will affect this library

Thanks

rac-andreharry commented 3 years ago

Actually nevermind, I found the reason https://github.com/jwilsson/spotify-web-api-php/issues/131