Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

how do i get the full song link

how do i get the full song link

Device

Watch

 

Operating System

Embedded

 

My Question or Issue

 

Hey folks, 

I use https://api.spotify.com/v1/me/player/recently-played WEB API to get the recently played list, the obtained preview_url song playback time is 30s or less, it is incomplete, how can I get it full song link.

thanks

Reply
3 Replies

You can find the Spotify link of the full song under:

data["items"][0]["track"]["external_urls"]["spotify"]

(You can replace data with your own variable name, and 0 with a variable to loop through all the tracks.)

Note: it's not possible to play a full song outside the Spotify this way.

XimzendSpotify 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.

If I make an app and use this interface, will it be unplayable?

thanks,If I make an app and use this interface, will it be unplayable?

Suggested posts