Question

I need to add a "Save as Playlist" button to my Spotify app, according to my app feedback from Spotify. I've seen the button in other apps, but as far as I can tell, there is no native implementation of this button - right? SubscribeButton is a button that says "Follow" and isn't right for my case.

I'm trying to implement it myself using Button, but I can't add a playlist to the user's library. The playlists in my app are created using Playlist.createTemporary. Library.publish has no effect. Library.playlists.add has no effect. What am I missing?

Was it helpful?

Solution

Actually, this does work similar to the old API. Just use Playlist.Create, and it will create a new Playlist for the current user. This doesn't really make sense to me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top