Help Wizard

Step 1

NEXT STEP

New Spotify app playlist links

New Spotify app playlist links

Hey guys,

With a recent update, the Spotify app provides dynamic links for playlists such as https://link.tospotify.com/l272mCvFRbb and https://link.tospotify.com/bDUuTMCFRbb where, both lead to the same playlist. I cannot use the code at the end of the link to get the playlist using the web API.

Using GET https://api.spotify.com/v1/playlists/bDUuTMCFRbb/tracks does not work and gives a web api error.

 

How I can get the playlist id from these urls to use with the Spotify web api?

Hope you guys can help! Thank you!

Reply
3 Replies

Hey @studbutt, thanks for reaching out here!

 

The link.tospotify.com URLs do not contain a Spotify ID, unfortunately. You might be able to use the Search API to find the item that you need an ID for. Let me know if you have any other questions about this!

 

Have a great day,

Hubo

HuboSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Hey @Hubo, thank you for your reply but the workaround you suggested will not work in my case as the user will only paste a link to the playlist which would be a link.tospotify.com link so I would have no idea what to search for using the search api. 
If you have any other workaround suggestions to find the playlist using that link please let me know. 

regards,

Studbutt

Hey @Hubo, after my response to you a few seconds ago I just checked the Spotify app again and it turns out that it’s giving normal open.Spotify.com links now that my app already works with.

Even though my issue is sorted as they stopped the new links, I would still love to know if you have any workarounds for me if they do eventually end up keeping the link.tospotify.com links.

Thank you,
studbutt

Suggested posts