Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating Spotify playlist with standalone web app

Tags:

spotify

I just want to be able to create a playlist by sending / receiving http requests ( a standalone web app, not with Spotify Apps and the desktop client). I've dug around the docs and can't find a clear solution. Can someone point me in the right direction? Thanks in advance.

like image 729
shanemcd Avatar asked Dec 07 '22 14:12

shanemcd


1 Answers

You can pass a list of songs—not a playlist—to the desktop player by adding the track ids to a link as below

<a href="spotify:trackset:PlaylistName:49MsPNQCOmxvIYi9AdoPzY,6fUlrsHaz4QfCNF31rk2dU,5KiTsR2h8jnzkvTeucxoAn,6kidUwWb8tB9ktfy7U76iX,6mlUEdb90RqwUisnp65lG7,6KOEK6SeCEZOQkLj5M1PxH,3psrcZoGRaWh6FMGael1NX,3EHLii6bnZxJxsCfLlIb83,0xJtHBdhpdLuClaSQYddI4,6fsdOFwa9lTG7WKL9sEWRU">Play</a>

UPDATE

As of today there is an api for creating playlists: https://developer.spotify.com/web-api/create-playlist/

like image 166
user909410 Avatar answered Dec 28 '22 06:12

user909410