It seems that Spotify has made some changes to how one should format links when performing more complex searches, causing some problems with one of the services I work on. This post describes my solution.
We used to format the links like this to open the spotify app and performing a search (mouse over and inspect to see):
The answer from the spotify app:
Megabig sad face. Huge.
Luckily I had better success with contacting @SpotifyCares through Twitter.
Thanks! We’ve spoken with the relevant team regarding this. The search parameter has to be URI encoded, and the different field values have to be wrapped in “quotes”. You can think of it like this – ‘spotify:search:’ + encodeURIComponent(‘track:”castle on the hill” artist:”ed sheeran”‘). We hope this helps. In the meantime, check out to our friends at @SpotifyPlatform. They’ll be able to help further :) /Q
track:"castle on the hill" artist:"ed sheeran" and jumping over to http://meyerweb.com/eric/tools/dencoder/ for a quick encode gives me
Then just add
spotify:search: in front, and viola:
Boyahh! Big happyface! The biggest!