Spotify Artist top tracks API returns parameter "preview
I am tring to get top tracks from spotify for artist 'Lana Del Rey'. The API return artist top tracks with 'preview_url' as NULL.
Spotify Atrist Id for 'Lana Del Rey' is 00FQb4jTyendYWaN8pK0wa
Sample Call for this is
https://api.spotify.com/v1/artists/00FQb4jTyendYWaN8pK0wa/top-tracks?country=US&access_token=XXX
I have searched a little, got one link which suggest that we need to append market parameter to above API to get the preview_url. Still it gives parameter null. Sample call is
https://api.spotify.com/v1/artists/00FQb4jTyendYWaN8pK0wa/top-tracks?country=US&access_token=XXX&market=US
Appreciate if someone can help.
Thanks in advanced
链接地址: http://www.djcxy.com/p/55656.html