Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Forum Posts

Welcome to the Spotify for Developers board!

Welcome to the Spotify for Developers board! This forum is the place for conversations about Spotify's Web API, Web Playback SDK, Widgets, and other developer tools. Here you can ask questions about the Spotify platform, chat with other developers, a...

  • Spotify
  • Spotify
  • 14010 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 14010 Views
  • 0 replies
  • 51 likes

Standardize 'market' parameter across Web API endpoints

Many endpoints of the Spotify Web API do allow to specify a 'market' query parameter. But the usage of this parameter is not equal across all endpoints, as some endpoints explicitly require the 'market' parameter and others do not. For example, the G...

  • Regular
  • Many endpoints of the Spotify Web API do allow to specify a 'market' query parameter. But the usage of this parameter is not equal across all endpoints, as some endpoints explicitly require the 'mark...
  • 191 Views
  • 0 replies
  • 0 likes
  • feature request
  • 191 Views
  • 0 replies
  • 0 likes

How can I get access to Made for You playlist by Web-API?

How can I get access to Made for You playlist by Web-API?I can’t find any APIs that could access to my Discovery Weekly, Daily Mix, Daily Wellness or Release Radar. Thanks for reply.

  • Casual Listener
  • How can I get access to Made for You playlist by Web-API? I can’t find any APIs that could access to my Discovery Weekly, Daily Mix, Daily Wellness or Release Radar.   Thanks for reply.
  • matthewklee
  • Visitor
  • 810 Views
  • 3 replies
  • 0 likes
  • Discussion
    question
  • 810 Views
  • 3 replies
  • 0 likes

Solved!! Is there a web API to delete a playlist

Hi, I am trying to look for a Spotify Web API that will delete a playlist. I only found Unfollow playlist API from the web documentation. Is the Unfollow playlist API same as deleting a playlist? Regards,Newbie Spotify Dev

  • Casual Listener
  • Hi,   I am trying to look for a Spotify Web API that will delete a playlist.   I only found Unfollow playlist API from the web documentation.   Is the Unfollow playlist API same ...
  • cttan08
  • Casual Listener
  • 378 Views
  • 4 replies
  • 0 likes
  • question
  • 378 Views
  • 4 replies
  • 0 likes

Token Retrieval for client side rendered apps

PlanFree Operating SystemLinux Tech StackNodeJS, Angular 10 My Question or Issue I am having an issue with the flow of the authentication process; i'll start off by saying I do not have issues with getting the access token but rather, how I can utili...

  • Newbie
  •   Plan Free   Operating System Linux   Tech Stack NodeJS, Angular 10   My Question or Issue   I am having an issue with the flow of the authentication process; i'...
  • 192 Views
  • 0 replies
  • 0 likes
  • Discussion
    question
  • 192 Views
  • 0 replies
  • 0 likes

Is there an API endpoint available for requesting a download of data?

I am looking for a way to use the Spotify API to request a download of my user data, in the same way that this can be done using Profile --> Privacy Settings --> Download your data --> Send email --> "We are preparing your data file. This can take up...

  • Visitor
  • I am looking for a way to use the Spotify API to request a download of my user data, in the same way that this can be done using Profile --> Privacy Settings --> Download your data --> Send ...
  • Hubo
  • Spotify Star
  • 211 Views
  • 1 replies
  • 0 likes
  • backup
  • 211 Views
  • 1 replies
  • 0 likes

Solved!! How delete one or more elements from playlist?

If you use the API https://api.spotify.com/v1/playlists/{playlist_id}/tracks it removes ALL TRACKS from the playlist that match the given URI.But how can I delete one track? Or a certain number of tracks with such a URI?

  • Music Fan
  • If you use the API https://api.spotify.com/v1/playlists/{playlist_id}/tracks it removes ALL TRACKS from the playlist that match the given URI. But how can I delete one track? Or a certain number of ...
  • Koteyk0o
  • Music Fan
  • 752 Views
  • 8 replies
  • 0 likes
  • question
  • 752 Views
  • 8 replies
  • 0 likes

Solved!! Get Playlist URI with updated Desktop Look

Hey!So my Spotify updated yesterday, and gave my Desktop version this cool new look. The only problem I experienced was that I can't seem to find how to get the Playlist URI now? You used to just go to share => copy Playlist URI but thats just not th...

  • Music Fan
  • Hey! So my Spotify updated yesterday, and gave my Desktop version this cool new look. The only problem I experienced was that I can't seem to find how to get the Playlist URI now? You used to just g...
  • chipbite
  • Music Fan
  • 4150 Views
  • 4 replies
  • 1 likes
  • Desktop Windows
    Playlist URI
  • 4150 Views
  • 4 replies
  • 1 likes

Solved!! How can I get full song from Spotify using Web API or iOS SDK?

Hi all, I am developing a custom player mobile app, it will play songs from Spotify, but I can only get preview_url which provide 30s of the song.Is it possible to get full song of Spotify using Web API or iOS SDK? Thank you so much.

  • Regular
  • Hi all, I am developing a custom player mobile app, it will play songs from Spotify, but I can only get preview_url which provide 30s of the song. Is it possible to get full song of Spotify using ...
  • RndTBit
  • Casual Listener
  • 6294 Views
  • 11 replies
  • 0 likes
  • full song
    iOS SDK
    Web API
  • 6294 Views
  • 11 replies
  • 0 likes

Delete or deactivate oauth token

Hi, I am starting to learn API and testing it out with Spotify. I ran across a thing I have not found the answer for anywhere. How can I delete or deactivate a token?E.g. I have generated a token in the Web API console using the GET TOKEN button on p...

  • Visitor
  • Hi,   I am starting to learn API and testing it out with Spotify. I ran across a thing I have not found the answer for anywhere.   How can I delete or deactivate a token? E.g. I have...
  • Hubo
  • Spotify Star
  • 359 Views
  • 1 replies
  • 0 likes
  • api
    token
  • 359 Views
  • 1 replies
  • 0 likes

Playlist API returns different tracks to those shown on the desktop app

When I make a request for the tracks in a playlist at /playlists/${playlistId}/tracks some of the tracks it returns are slightly different versions to what my desktop client is showing, particularly for albums such as spotify:album:2gP2LMVcIFgVczSJqn...

  • Casual Listener
  • When I make a request for the tracks in a playlist at       /playlists/${playlistId}/tracks       some of the tracks it returns are slightly different versions ...
  • 240 Views
  • 0 replies
  • 2 likes
  • Possible Bug
  • 240 Views
  • 0 replies
  • 2 likes

Search Results for Tracks by Artist not working well

We are using JohnnyCrazy/SpotifyAPI-NET nuget package in our Smartspeaker product. It works great but we often get poor results with certain Spotify searches. Here's the latest example. A voice search like "Play songs by the Who" triggers a Spotify S...

  • Newbie
  • We are using JohnnyCrazy/SpotifyAPI-NET nuget package in our Smartspeaker product. It works great but we often get poor results with certain Spotify searches. Here's the latest example.   A vo...
  • Hubo
  • Spotify Star
  • 204 Views
  • 1 replies
  • 0 likes
  • Discussion
    feature request
    question
  • 204 Views
  • 1 replies
  • 0 likes

Cannot add redirect URL in edit settings

In spotify developer , created an app , went to edit settings, and tried to add redirect URI, hit add and nothing happens, what am I missing.

  • Visitor
  • In spotify developer , created an app , went to edit settings, and tried to add redirect URI, hit add and nothing happens, what am I missing.
  • Hubo
  • Spotify Star
  • 850 Views
  • 1 replies
  • 0 likes
  • edit setting
  • 850 Views
  • 1 replies
  • 0 likes

How to add spotify on website through plugin?

Hello Spotify community, I have review blog about soccer boots. This blog is developed with WordPress CMS, I want embed Spotify with my blog. How I can do this with some plugin.?If someone can help me out with this, I will be greatful.ThanksJohnn

  • Visitor
  • Hello Spotify community, I have review blog about soccer boots. This blog is developed with WordPress CMS, I want embed Spotify with my blog. How I can do this with some plugin.? If someone can...
  • gvenk
  • Casual Listener
  • 296 Views
  • 1 replies
  • 0 likes
  • Discussion
    Web Development
    wordpress
  • 296 Views
  • 1 replies
  • 0 likes

Can't run Web playback sdk promise rejection

Hi, I decided to give the web playback sdk a try.I pasted the code provided herehttps://developer.spotify.com/documentation/web-playback-sdk/quick-start/I added my token. When I open the html in chrome during the loading I get (promise rejection)Afte...

vladimir9307_1-1617881805943.png
  • Newbie
  • Hi, I decided to give the web playback sdk a try. I pasted the code provided here https://developer.spotify.com/documentation/web-playback-sdk/quick-start/ I added my token.  When I open the...
  • 176 Views
  • 0 replies
  • 0 likes
  • question
  • 176 Views
  • 0 replies
  • 0 likes

Embed widget play button doesn't work, 400 errors in console

I copied/pasted the embed widget code from the Spotify site into my page. When I go to click the play button, the console shows all sorts of errors: I am building a NextJS site in React and Typescript, here's the embed code: Devicelatest Chrome on M...

Screen Shot 2021-04-07 at 1.12.33 PM.png
  • Casual Listener
  • I copied/pasted the embed widget code from the Spotify site into my page. When I go to click the play button, the console shows all sorts of errors:   I am building a NextJS site in...
  • Hubo
  • Spotify Star
  • 251 Views
  • 1 replies
  • 0 likes
  • embed
    Error
    Widget
  • 251 Views
  • 1 replies
  • 0 likes

Spotify API can play a playlist but not a track

Hello, so I have some code to play a spotify playlist on my device.The Problem is if I copy the Spotify URI of a playlist, everything works fine. But if I copy the spotify URI of a track, I get an error saying Could not find this Context URI.(In case...

  • Music Fan
  • Hello, so I have some code to play a spotify playlist on my device. The Problem is if I copy the Spotify URI of a playlist, everything works fine. But if I copy the spotify URI of a track, I get an ...
  • Hubo
  • Spotify Star
  • 1073 Views
  • 1 replies
  • 0 likes
  • Desktop Windows
    Web API
    Web Playback API
  • 1073 Views
  • 1 replies
  • 0 likes

Tell me how to get added to the Developer Showcase.

Hello. I'm an engineer from Japan who loves Spotify.I've created a community(iOS and Android App) for Spotify users to talk about music.You can find it at https://chooning.app/ There are a lot of users in Japan, but not many in English-speaking count...

  • Regular
  • Hello. I'm an engineer from Japan who loves Spotify. I've created a community(iOS and Android App) for Spotify users to talk about music. You can find it at https://chooning.app/   There are...
  • Hubo
  • Spotify Star
  • 245 Views
  • 1 replies
  • 0 likes
  • question
  • 245 Views
  • 1 replies
  • 0 likes

Weird Spotify POST 500 Playback Error

I'm using Electron and WideVine to play with the Spotify Web Playback API and everything works fine, I start a song but then it plays only for about three seconds and then skips to the next track and so on. I get this Error about three times:POST htt...

  • Music Fan
  • I'm using Electron and WideVine to play with the Spotify Web Playback API and everything works fine, I start a song but then it plays only for about three seconds and then skips to the next track and...
  • kingofsquirrel3
  • Music Fan
  • 605 Views
  • 5 replies
  • 1 likes
  • Desktop Windows
    Playback Error
    Possible Bug
    Widevine
  • 605 Views
  • 5 replies
  • 1 likes

Web Player stops playing and player_state_changed and getCurrentState returning strange info

Hello, I'm using the Web Playback SDK for a little project at home.For the past weeks, I started to notice that the Web Player, randomly, stops playing. After a couple of hours of playing without issues, it stops playing when the song reaches the 10/...

  • Casual Listener
  • Hello, I'm using the Web Playback SDK for a little project at home. For the past weeks, I started to notice that the Web Player, randomly, stops playing. After a couple of hours of playing with...
  • afonsorp
  • Casual Listener
  • 381 Views
  • 3 replies
  • 1 likes
  • Possible Bug
  • 381 Views
  • 3 replies
  • 1 likes

Solved!! no code in response - authorize request

PlanFreeCountryCZDeviceChrome, Firefox, PHPOperating SystemFedora Linux My Question or IssueHi,I'm sending a request to Spotify to authorize. The goal is a response with user e-mail. It goes to Spotify login, I log through Facebook, it shows INVALID_...

  • Regular
  • Plan Free Country CZ Device Chrome, Firefox, PHP Operating System Fedora Linux     My Question or Issue Hi, I'm sending a request to Spotify to authorize. The goal is a response...
  • vaclav20210
  • Regular
  • 596 Views
  • 3 replies
  • 0 likes
  • Possible Bug
  • 596 Views
  • 3 replies
  • 0 likes