Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
How would i create a valid Spotify URL with a given artist/album (or song) like e.g. last.fm does?
e.g. http://www.last.fm/music/Tori+Amos/Little+Earthquakes/Precious+Things --> Tori Amos – Precious Things
Is this even possible? (i'd love if you guys release an API soon!)
Solved! Go to Solution.
After an extended search, i've found this:
http://ws.spotify.com/search/1/track?q=Tori+Amos+Precious+Things
Thats all i needed 😉
Thanks anyway for your help 🙂
Hi,
Yep it is possible 🙂
Athough you can't 'create' one yourself; if you go into the Spotify application, right click a song, and then press 'Copy Spotify URI' it will appear like what you want if you paste it.
There is a C API here already. I can't remember sorry but I think you may have to submit an online contact form asking for the API, but I'm not 100% sure!
Anthony 🙂
AnthonyB schrieb:
Hi,
Yep it is possible 🙂
Athough you can't 'create' one yourself; if you go into the Spotify application, right click a song, and then press 'Copy Spotify URI' it will appear like what you want if you paste it.
There is a C API here already. I can't remember sorry but I think you may have to submit an online contact form asking for the API, but I'm not 100% sure!
Anthony 🙂
Thanks for your quick reply, Anthony.
Copy/paste from the spotify app is what i did to get the link above. I still wonder if its possible to create these links automatically by my php-web-app which uses the last.fm API.
Something like https://developer.spotify.com/technologies/spotify-play-button/ but automated 😉
Your second example is a valid Spotify URL to the song "Precious Thing" on the album "Little Earthquakes" by Tori Amos. What happens when clicking on it depends on what a Spotify member has installed. For example I have opened a browser tab with the web player at the moment, so the (next) song gets played in it, but it takes a while until everything has been forwarded etc. If I wouldn't have the web player open, usually the desktop software is started instead, and the song will be played there which can also take a while.
Concerning the Spotify API, it's open for developers like the Last.fm API, and searching the database for URLs is possible, too, e.g. playlist converters like www.ivyishere.org use this function all the time.
Thanks for your answer, Hans-Jürgen.
Ivy is neat and does what i 'd like.. in a way. Anyway, thanks for that!. It's great that there is an API but just not a web API. I'd still like to know, how i'd calculate the hash "2PAol2oDdGSHys8hc0gtLX" for the song mentioned above. I've got a php-app running on my website, which shows the last.fm recent tracks and since last.fm doesn't offer streaming anymore, i'd like to present spotify links instead.
I don't think that you have calculate that hash, because it is part of the full valid "http://open.spotify.com/track/..." link anyhow. Probably you only have to choose the output format for a found track in the Spotify database when searching it. An internal Spotify link starts with "spotify:track:..." plus the same hash, so only the protocol changes.
By the way, the Last.fm for Spotify app also offers a playlist of the last 50 Last.fm recent tracks, so it is possible to use the Spotify API for that.
After an extended search, i've found this:
http://ws.spotify.com/search/1/track?q=Tori+Amos+Precious+Things
Thats all i needed 😉
Thanks anyway for your help 🙂
Can someone tell me why when i post the spotify http link on my facebook page it snips off the topic after I post, and replaces it with the http address not allowing someone to be unable to know what the topic of the posting is???
the facebook page is (www.facebook.com/ezudna), I have 3 playlists on there where the Topic got snipped off and replaced with the same url i copied to the page that spotify gives.....
Can someone tell me how i get the topic inserted so that it doesnt snip off the topic of my playlist?
It should look like this when copied and pasted correctly ::::::::::::::>.
Top 40 week of 01-26-2014 http://open.spotify.com/user/1262168011/playlist/1Cr6rWdnnzneP2kpNboS0k
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…