How do I create a link to open the Spotify mobile app with the search field populated?

Reply

How do I create a link to open the Spotify mobile app with the search field populated?

tylerbecks
Newbie

I made this website to improve the UI of the Rolling Stone Magazine's Top 500 Albums of all time (https://romantic-haibt-59a971.netlify.com).  I'm trying to add links to Spotify for each album. Currently, the links work on a desktop browser, but opening the link from my iPhone opens the app with the search field populated with an encoded search. How can I get Spotify to show the proper search results?

 

When the href on the website is this: https://play.spotify.com/search/artist:OutKast%20album:Aquemini

 

current mobile search (encoded): artist%3AOutKast%20album%3AAquemini

 

desired mobile search: artist:OutKast album:Aquemini

1 Reply
Highlighted

Re: How do I create a link to open the Spotify mobile app with the search field populated?

Moderator
Moderator

Hey there @tylerbecks,

 

Thanks for posting and welcome to the Community!

 

In this case, we'd suggest checking Spotify for Developers here to get more info regarding this.

 

Hope this helps!

SUGGESTED POSTS