javascript - Getting a users starred playlist from the Spotify Apps API? -
i'm trying users starred playlist whatever reason spotify returning "invalid playlist uri: spotify:user:jamesw12:starred".
this code snippet work other types of playlists not starred seems. not possible?
models.playlist.fromuri("spotify:user:jamesw12:starred", function(playlist) { console.log("playlist loaded", playlist); });
you have utilize library starred tracks.
models.library.starredplaylist
reference here: https://developer.spotify.com/technologies/apps/docs/dcdebc652c.html
javascript api spotify
No comments:
Post a Comment