Announcements

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
  • 14940 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 14940 Views
  • 0 replies
  • 51 likes

Audio Preview Clips for training a Neural Network (non-commercial)

CountryGermany My Question or IssueI am currently working on the project for my final thesis in the field of machine learning and music classification, to obtain my bachelor degree in computer science. I am not satisfied with the quality of some publ...

  • Newbie
  • Country Germany   My Question or Issue I am currently working on the project for my final thesis in the field of machine learning and music classification, to obtain my bachelor degree ...
  • 215 Views
  • 0 replies
  • 0 likes
  • question
  • 215 Views
  • 0 replies
  • 0 likes

Design Guideline: Spotify shuffle and on demand playback

PlanFreeCountryIndiaDevicePixel 4Operating SystemAndroid Pie Design Guideline:Below Design guideline is provided on - https://developer.spotify.com/documentation/general/design-and-branding/ In Spotify Free, for on-demand playback and shuffle play - ...

  • Casual Listener
  • Plan Free Country India Device Pixel 4 Operating System Android Pie   Design Guideline: Below Design guideline is provided on - https://developer.spotify.com/documentation/general...
  • 313 Views
  • 0 replies
  • 0 likes
  • Android 9-Pie
    Android 9.0
  • 313 Views
  • 0 replies
  • 0 likes

Android SDK - playlist/liked songs

is there a way to retrieve playlists (and liked songs) via the android SDK?how to start playing liked songs as a playlist?

  • Casual Listener
  • is there a way to retrieve playlists (and liked songs) via the android SDK? how to start playing liked songs as a playlist?  
  • ThomasMW
  • Casual Listener
  • 388 Views
  • 1 replies
  • 1 likes
  • question
  • 388 Views
  • 1 replies
  • 1 likes

Superuser Contribution [Showcase/Feedback] Harvy - a fitness/running app built with Spotify APIs

Since the showcase functionality is on hold right now, I wanted to post my project here to see if anyone has any feedback. Let me know if this isn't allowed, happy to take it down. Project: Harvy.appGoal: Play music based on the difficulty of the rou...

  • Regular
  • Since the showcase functionality is on hold right now, I wanted to post my project here to see if anyone has any feedback. Let me know if this isn't allowed, happy to take it down.   Project: ...
  • kevinguebert
  • Regular
  • 497 Views
  • 5 replies
  • 2 likes
  • Feedback
    showcase
  • 497 Views
  • 5 replies
  • 2 likes

Solved!!Superuser Contribution web API docs broken link

Hi,I was checking the documentation for the web api, and just found that one of the links is not working.in https://developer.spotify.com/documentation/web-api/reference it's the User Profile API in the sidebar, it links to https://developer.spotify....

Screen Shot 2021-04-15 at 7.29.14 PM.png
  • Casual Listener
  • Hi, I was checking the documentation for the web api, and just found that one of the links is not working. in https://developer.spotify.com/documentation/web-api/reference it's the User Prof...
  • spotifyjosh
  • Spotify
  • 366 Views
  • 1 replies
  • 0 likes
  • Possible Bug
  • 366 Views
  • 1 replies
  • 0 likes

Solved!!Superuser Contribution Invalid username - cant get devices

HiI'm trying get Spotify devices (and eventually set active device) via the web API. I can retrieve track info, but as soon I try to access device or play/pause I get the "Invalid User" reply.I can see the necesary scopes in the Auth token reply, but...

  • Visitor
  • Hi I'm trying get Spotify devices (and eventually set active device) via the web API. I can retrieve track info, but as soon I try to access device or play/pause I get the "Invalid User" reply....
  • spotifyjosh
  • Spotify
  • 1501 Views
  • 1 replies
  • 0 likes
  • api
    devices
    Python
  • 1501 Views
  • 1 replies
  • 0 likes

How to unit test?

I'm making a small SDK (PHP), and I want to write some unit tests for the authorization, but also for the web api endpoints. I'm stuck at getting the authorization code, and consequentially the access & refresh tokens. I have all my secrets in my tes...

  • Newbie
  • I'm making a small SDK (PHP), and I want to write some unit tests for the authorization, but also for the web api endpoints.   I'm stuck at getting the authorization code, and consequentially ...
  • 347 Views
  • 0 replies
  • 0 likes
  • Discussion
    Testing
  • 347 Views
  • 0 replies
  • 0 likes

IOS SessionManager DidInitiate

PlanPremiumCountryUnited Kingdom DeviceiPhone 11Operating SystemiOS 14 My Question or Issue I am currently working on developing an app that allows a user to open the Spotify app from my app and then play music. I have used sessionManager to open the...

  • Visitor
  • Plan Premium Country United Kingdom   Device iPhone 11 Operating System iOS 14   My Question or Issue   I am currently working on developing an app that allows a user to op...
  • 182 Views
  • 0 replies
  • 0 likes
  • iOS Development
  • 182 Views
  • 0 replies
  • 0 likes

Superuser Contribution Web Player SDK Does Not Work in Internet Explorer 11

Last year I created a C#/WPF application with an embedded Spotify Web Player SDK. It has worked fine, as far as I am aware, for the last 400+ days. However, recently it has stopped working. As far as I can estimate, it stopped working around 15 days ...

  • Regular
  • Last year I created a C#/WPF application with an embedded Spotify Web Player SDK. It has worked fine, as far as I am aware, for the last 400+ days. However, recently it has stopped working. As far as...
  • userdk
  • Regular
  • 628 Views
  • 9 replies
  • 0 likes
  • Possible Bug
  • 628 Views
  • 9 replies
  • 0 likes

Retrieving more than 100 items from New Releases API endpoint

Hello, I'm working on a React project in which I intended to display a full list of new releases from the current week (similar to what Every Noise At Once has set up, though I'm not sure how they're accomplishing it). I'm using the New Releases endp...

  • Newbie
  • Hello,   I'm working on a React project in which I intended to display a full list of new releases from the current week (similar to what Every Noise At Once has set up, though I'm not sure ho...
  • kkhal
  • Gig Goer
  • 304 Views
  • 1 replies
  • 1 likes
  • question
  • 304 Views
  • 1 replies
  • 1 likes

Make a custom Raspberry Pi a new Spotify Device

Hey, so my question basically is if you can make a new device with a new device id to play spotify on. I have a script that can play music on my device (my computer) and I was wondering if there was any way to basically "create" a new device (a raspb...

  • Music Fan
  • Hey, so my question basically is if you can make a new device with a new device id to play spotify on. I have a script that can play music on my device (my computer) and I was wondering if there was ...
  • 195 Views
  • 0 replies
  • 0 likes
  • device
    spotify connect
  • 195 Views
  • 0 replies
  • 0 likes

Superuser Contribution Token provider returned the same token twice

PlanPremiumCountryTurkeyDevice(Desktop Pc)Operating System(Windows 10) My Question or Issueembedded playlists on my website stop playing after first song is finished, and in the console, this error is logged:Uncaught (in promise) TransportError: Toke...

  • Regular
  • Plan Premium Country Turkey Device (Desktop Pc) Operating System (Windows 10)   My Question or Issue embedded playlists on my website stop playing after first song is finished, and in ...
  • scaltas
  • Regular
  • 716 Views
  • 10 replies
  • 0 likes
  • Possible Bug
  • 716 Views
  • 10 replies
  • 0 likes

Audio Encoding Specifications Article Not Found

PlanPremiumCountryUSADeviceiPhone 11 ProOperating SystemiOS 14.4.2 My Question or IssueHi, I’m not sure if this is the correct forum to contact but my inquiry is about Spotify’s audio file encoding specifications. I could be wrong, but I believe a re...

  • Regular
  • Plan Premium Country USA Device iPhone 11 Pro Operating System iOS 14.4.2   My Question or Issue Hi, I’m not sure if this is the correct forum to contact but my inquiry is about Spotif...
  • mkikoen
  • Regular
  • 234 Views
  • 1 replies
  • 0 likes
  • question
  • 234 Views
  • 1 replies
  • 0 likes

[Desktop][Developer] Nodes

Hey Spotify! I am working on an app / software which collects the CORRECT nodes for various (popular) songs. Both for musicians playing gigs and the ones rehearsing at home. Many nodes is possible to find on the internet, but offen with a lot of flaw...

  • Newbie
  • Hey Spotify!   I am working on an app / software which collects the CORRECT nodes for various (popular) songs. Both for musicians playing gigs and the ones rehearsing at home.    M...
  • 134 Views
  • 0 replies
  • 0 likes
  • Desktop
    Developer
  • 134 Views
  • 0 replies
  • 0 likes

Issue with accessing user top tracks when offset parameter is >= 50

PlanPremiumCountryUSADevicePCOperating SystemWindows 10 My Question or IssueWhen accessing a user's top tracks, it is possible to access the first 98 items by iterating with a 49*x value assigned to the offset parameter. However, it is impossible to ...

  • Newbie
  • Plan Premium Country USA Device PC Operating System Windows 10   My Question or Issue When accessing a user's top tracks, it is possible to access the first 98 items by iterating with ...
  • 154 Views
  • 0 replies
  • 0 likes
  • Possible Bug
    question
  • 154 Views
  • 0 replies
  • 0 likes

Android Spotify SDK - Weird undocumented error

Hi, I'm working on a React Native project using https://github.com/cjam/react-native-spotify-remote to use Spotify SDK. I already posted an issue on this repo to see if someone can help me but I think it's more related to the Spotify SDK itself. When...

  • Newbie
  • Hi,   I'm working on a React Native project using https://github.com/cjam/react-native-spotify-remote to use Spotify SDK. I already posted an issue on this repo to see if someone can help me b...
  • 189 Views
  • 0 replies
  • 1 likes
  • question
  • 189 Views
  • 0 replies
  • 1 likes

Device automatically goes to standby and can't be used for pause/resume

So basically I have a script that resumes and pauses the playback on my device, and to do that I have a fixed device id specified. The problem is after some time Spotify goes into "Standby" and if I try to pause/resume by either my script or the butt...

  • Music Fan
  • So basically I have a script that resumes and pauses the playback on my device, and to do that I have a fixed device id specified. The problem is after some time Spotify goes into "Standby" and if I ...
  • 148 Views
  • 0 replies
  • 0 likes
  • Desktop Windows
    Pause and Resume
  • 148 Views
  • 0 replies
  • 0 likes

[Community][Developer] Need Artist Discography endpoints for Web API

I'm trying to pull non-duplicated an artist albums data from the Web API, as you guys get from your private API:https://api-partner.spotify.com/pathfinder/v1/query?operationName=queryArtistDiscography&variables= {"uri":"spotify:artist:6nxWCVXbOlEVRex...

  • Casual Listener
  • I'm trying to pull non-duplicated an artist albums data from the Web API, as you guys get from your private API: https://api-partner.spotify.com/pathfinder/v1/query?operationName=queryArtistDiscog...
  • 240 Views
  • 0 replies
  • 1 likes
  • Community
    Developer
  • 240 Views
  • 0 replies
  • 1 likes

Refresh token revoked

I am using PKCE for my web app. When a user tries to perform an action and the access token has expired, I use the refresh token to generate a new access token. If my webapp is idle for over a day, and I try to use the refresh token, I get the follow...

  • Casual Listener
  • I am using PKCE for my web app. When a user tries to perform an action and the access token has expired, I use the refresh token to generate a new access token. If my webapp is idle for over a day, a...
  • chrishipgrave
  • Casual Listener
  • 1139 Views
  • 2 replies
  • 0 likes
  • PKCE
    Possible Bug
  • 1139 Views
  • 2 replies
  • 0 likes

Env: prod