Hello Everyone,
I’m seeking guidance on implementing the Save to Spotify functionality. What I’ve done is change the “Save to Spotify button” to a “Create Playlist button”. I opted for this approach after reading the Spotify API docs, which indicated the need for a playlist_id to add tracks to a specific playlist.
Regarding the implementation of Save to Spotify, here’s the proposed approach: Upon clicking the Save to Spotify button, the system will initiate requests for both creating a playlist and adding tracks/items to it. To facilitate this, I plan to store all the necessary request body information in the state.
I’m contemplating whether this approach is superior to the my Create Playlist button method. Any insights or suggestions would be greatly appreciated.