Announcements

Help Wizard

Step 1

NEXT STEP

Stream track like Tinder does

Stream track like Tinder does

👋

 

I'm a Tinder user; on there I'm allowed to pick a track and play it from Spotify.  How do I do that on my own iOS app? 

 

Thanks in advance!

Reply
15 Replies

Tinder is either using a private API or they are using the iOS/Android SDK. Does the Spotify app have to be running in the background in order to listen to music? In that case, they're using the latter; they're not actually streaming music through the Tinder app itself. The music is streaming from the Spotify app and Tinder is merely providing an interface for controlling playback.

The Spotify app does not even have to be downloaded on the phone for Tinder to play the preview song.

Maybe my question wasn't clear: How do I stream/play the track preview on the my app?

So can you play a preview or the full version of a track?

must of the previews are null 🤯

You didn't answer my question.

sorry. Yes I can play the urls. Most are missing tho

You still did not answer my question: On the Tinder app, can you play a preview, or the full version of, a track?

No, on Tinder I can only play the preview url. (this is what I cant to do on my app)

Give me the URI of a track that you can preview on Tinder but not on your app.

spotify:track:3yfqSUWxFvZELEM4PmlwIR

I was able to retrieve the preview URL for this track and play it in my browser.

 

Which authorization method are you using for the API and which country is the user that you authorize with associated with? Furthermore, are you using the "market" parameter of the track endpoint?

Client Credentials Flow

I tried with the market set to "US" and without a market.

this: https://api.spotify.com/v1/search?type=track&q=slim+shady&market=US

Use the authorization code flow instead. Then, the preview URL won't be null.

Find the track ID and then fetch from there? - didn't work. https://api.spotify.com/v1/tracks?ids=3yfqSUWxFvZELEM4PmlwIR

I have no idea what "Find the track ID and then fetch from there?" means. Please be more descriptive in your posts. Why do you think this conversation has carried on for so long? Are you trying to waste my time?

 

Did you try using the authorization code flow or not? I did and I was able to retrieve the track preview URL using "https://api.spotify.com/v1/tracks?ids=3yfqSUWxFvZELEM4PmlwIR".

Suggested posts

Let's introduce ourselves!

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…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random