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

Leverage Spotify API's to get music and play complete songs in a custom app

Leverage Spotify API's to get music and play complete songs in a custom app

Plan

Premium

Country

United States

 

Device

(iPhone 15, Samsung Galaxy S24 etc)

 

My Question or Issue

Hi, we are building a custom application in react native that makes use of spotify's web-api and enables user to add songs. Others can listen to those songs and shuffle as well between them. There are 2 challenges we are facing right now -

1. When we hit the search api for the tracks <

> for some songs we get preview_url while for others we get the values as null. What might be the possible reason for this and how can we fix this ?

2. Also, for all of the songs after getting the preview url's, we would like them to be played to full length i.e. they shouldn't just stop after 29 sec's. How do we do that ? Can we get the steps for the same ?

 

Reply
0 Replies

Suggested posts