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

30s Preview_Url Depriciated

30s Preview_Url Depriciated

My Question or Issue

 

Hi I currently have an application that uses 30s preivew_urls in the app when making in multi-get responses. They released a blog post (https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api) talking about how this would get depriciated for the following applications:

 

  • Existing apps that are still in development mode without a pending extension request
  • New apps that are registered on or after today's date
 

My question is if I already have an app that is registered and I request an extension request for new scopes would that remove my availability for the 30s preivew_urls in my application?

Reply
1 Reply

It looks like Spotify is deprecating preview_url for new apps and apps without an approved extension request, which can cause issues for existing applications that rely on this feature. If you still need the 30-second audio previews without being affected by these new API restrictions, there is an alternative approach.

I’ve developed a project that extracts the preview URL directly from the Spotify web page, without using the official API. This method allows you to continue retrieving audio previews for tracks, even if the preview_url is no longer available via the API. The project is built with PHP and Guzzle to fetch and process the data.

Benefits of this solution:

  1. No need to request special approvals or scope extensions from Spotify.
  2. It works independently of Spotify's API changes or limitations.
  3. Audio previews are reliably extracted as long as the public Spotify web page is accessible.

If you're interested in trying it out, feel free to check my GitHub repository by searching for "Gheorghii28/spotify-preview-fetcher".

I hope this solution helps!

Suggested posts