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
  • 19435 Views
  • 0 replies
  • 59 likes
  • Discussion
  • 19435 Views
  • 0 replies
  • 59 likes

Superuser Contribution Web Playback SDK works locally but not on web server

I'm trying to test the web playback SDK with a slightly modified version of the Quickstart tutorial. I'm using Safari (I know this was not originally supported, but Safari added EME support about 15 months ago in version 13.1.) https://developer.mozi...

  • Regular
  • I'm trying to test the web playback SDK with a slightly modified version of the Quickstart tutorial.   I'm using Safari (I know this was not originally supported, but Safari added EME support ...
  • tomjaimz
  • Spotify
  • 804 Views
  • 4 replies
  • 0 likes
  • web playback sdk
  • 804 Views
  • 4 replies
  • 0 likes

Follow button

I'm using the Spotify follow button (it's an iFrame element) in a simple website. When a user clicks the link, their default browser opens and they're prompted to login. However if I you go directly to the url specified in as an attribute in the iFra...

  • Casual Listener
  • I'm using the Spotify follow button (it's an iFrame element)  in a simple website.  When a user clicks the link, their default browser opens and they're prompted to login.  However if ...
  • Peter_Schorn
  • Roadie
  • 471 Views
  • 6 replies
  • 0 likes
  • question
  • 471 Views
  • 6 replies
  • 0 likes

Superuser Contribution Web Playback SDK should work on iOS 13.4+ but it does not

I'm aware that when it was released, the Web Playback SDK did not support Safari on the desktop or mobile devices due to the lack of support for Encrypted Media Extensions and/or Widevine for DRM. However, as you can see on the Mozilla developer page...

  • Regular
  • I'm aware that when it was released, the Web Playback SDK did not support Safari on the desktop or mobile devices due to the lack of support for Encrypted Media Extensions and/or Widevine for DRM. &...
  • AttilaTheFun
  • Regular
  • 508 Views
  • 2 replies
  • 0 likes
  • Possible Bug
    web playback sdk
  • 508 Views
  • 2 replies
  • 0 likes

Superuser Contribution Response code Forbidden

PlanPremiumCountryBelgiumDeviceWindows desktopOperating SystemWindows 10 We integrated the Spotify Web API into our system. For approx 2 months everything was working fine until last week.I see a lot of errors on the calls we do. E.g Get user's avail...

  • Casual Listener
  • Plan Premium Country Belgium Device Windows desktop Operating System Windows 10   We integrated the Spotify Web API into our system. For approx 2 months everything was working fine unti...
  • peterdb
  • Casual Listener
  • 1155 Views
  • 6 replies
  • 0 likes
  • question
  • 1155 Views
  • 6 replies
  • 0 likes

An API for the next track / queued tracks

My Question or IssueWhilst you can fetch user's playback history, you can't fetch the user's playback queue, from what I've been able to find.It would be super helpful to be able to query what the upcoming track is, or even the next few tracks. Spoti...

  • Casual Listener
  • My Question or Issue Whilst you can fetch user's playback history, you can't fetch the user's playback queue, from what I've been able to find. It would be super helpful to be able to query what th...
  • Anent
  • Regular
  • 265 Views
  • 1 replies
  • 1 likes
  • Feature Request
  • 265 Views
  • 1 replies
  • 1 likes

Idea validation

Hi, I am working on creating an internal only (for the people of the company I work for) app. The idea is to have everyone who wants to participate auth once (via oauth). Then I will have a daily job that runs to tabulate the most popular steams by e...

  • Newbie
  • Hi, I am working on creating an internal only (for the people of the company I work for) app. The idea is to have everyone who wants to participate auth once (via oauth). Then I will have a daily job...
  • 238 Views
  • 0 replies
  • 0 likes
  • question
  • 238 Views
  • 0 replies
  • 0 likes

[Desktop][Developer] Hide mouse/curser in full screen video mode

It would be great if the curser would hide automatically in full screen Video mode. When watching a video in full screen, the curser is always there – For me and some others, this is somewhat distracting. Most other video player are hiding the curser...

  • Newbie
  • It would be great if the curser would hide automatically in full screen Video mode.    When watching a video in full screen, the curser is always there – For me and some others, this...
  • 231 Views
  • 0 replies
  • 2 likes
  • Desktop
    Developer
  • 231 Views
  • 0 replies
  • 2 likes

Error 429, how can I avoid rate limiting?

I have built a script that polls the user's current song around 1-3 times per minute (totaling ~4 times per song), since I am using this information elsewhere. I have reduced this as much as I can in order to avoid rate limiting, however, this is the...

  • Visitor
  • I have built a script that polls the user's current song around 1-3 times per minute (totaling ~4 times per song), since I am using this information elsewhere. I have reduced this as much as I can in...
  • Peter_Schorn
  • Roadie
  • 502 Views
  • 1 replies
  • 0 likes
  • API Pricing
    API request
  • 502 Views
  • 1 replies
  • 0 likes

Spotify API (My user data)

Hello, I'm developing a personal website/developer profile and I'd like to display some user data from my own profile. Specifically, I'd like to display my all-time most listened to tracks and artists. Is there a way to display this information on my...

  • Casual Listener
  • Hello,   I'm developing a personal website/developer profile and I'd like to display some user data from my own profile. Specifically, I'd like to display my all-time most listened to tracks a...
  • Peter_Schorn
  • Roadie
  • 983 Views
  • 4 replies
  • 0 likes
  • authentication
    Authentication Token
    Login
    spotify api
    User data
    user profile
  • 983 Views
  • 4 replies
  • 0 likes

Superuser Contribution Getting 403 Error while Calling Web SDK APIs (Devices,Play,Pause etc) without information

Plan PremiumCountry IndiaDevice Macbook 16 inch + ChromeOperating System 11.3.1 (20E241) I have created an app in my account when I am login from the same account through Spotify logic is working fine. But when I trying from another "PREMIUM" account...

  • Casual Listener
  • Plan Premium Country India Device Macbook 16 inch + Chrome Operating System 11.3.1 (20E241)   I have created an app in my account when I am login from the same account t...
  • vinitkumargoel
  • Casual Listener
  • 365 Views
  • 2 replies
  • 0 likes
  • Web SDK
  • 365 Views
  • 2 replies
  • 0 likes

Number of streams endpoint

My Question or Issue Hi thereI have been trying to integrate the number of streams of multiple songs( with country as a filter) into a system that generates a comparative list in the form of a chart that integrates a number of other variables too. Ho...

  • Visitor
  • My Question or Issue   Hi there I have been trying to integrate the number of streams of multiple songs( with country as a filter) into a system that generates a comparative list in the form ...
  • Christoffer
  • Community Legend
  • 345 Views
  • 1 replies
  • 0 likes
  • Feature Request
  • 345 Views
  • 1 replies
  • 0 likes

Spotify recently played web api

I'm trying to get my most recent songs to display on my website and can't wrap my head around it. Has anyone figured this out? From what I've found it requires a user to login with tokens expiring after 1 hour. I'm using Vue (or specifically Nuxt) if...

  • Casual Listener
  • I'm trying to get my most recent songs to display on my website and can't wrap my head around it. Has anyone figured this out?   From what I've found it requires a user to login with tokens ex...
  • Christoffer
  • Community Legend
  • 354 Views
  • 1 replies
  • 0 likes
  • question
  • 354 Views
  • 1 replies
  • 0 likes

Software architecture of Spotify

My Question or IssueI am doing a research project for university with the topic "software architecture of Spotify", since I am not developer myself I have big issues with describing the architecture (Microservices). Is there any picture or something ...

  • Visitor
  • My Question or Issue I am doing a research project for university with the topic "software architecture of Spotify", since I am not developer myself I have big issues with describing the architectur...
  • 416 Views
  • 0 replies
  • 0 likes
  • question
  • 416 Views
  • 0 replies
  • 0 likes

URIs Array seems to have an undocumented limit

When I try to play tracks using the "/v1/me/player/play" endpoint I get results where:- Player shows an emtpy Queue (this is always the case)- after one of the first few songs one song seems to continue playing - progressbar is full, played time and ...

  • Roadie
  • When I try to play tracks using the "/v1/me/player/play" endpoint I get results where: - Player shows an emtpy Queue (this is always the case) - after one of the first few songs one song seems to c...
  • 217 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 217 Views
  • 0 replies
  • 0 likes

Authorization Code Flow Refresh Tokens

I am building an application which requires the refreshing of user Spotify stats (followers, playlists, etc) on a weekly basis. About two months after a user gives my web application access to their Spotify, I begin to get errors regarding the token ...

  • Casual Listener
  • I am building an application which requires the refreshing of user Spotify stats (followers, playlists, etc) on a weekly basis. About two months after a user gives my web application access to their ...
  • jhyde01
  • Casual Listener
  • 587 Views
  • 2 replies
  • 0 likes
  • authorization
    refresh tokens
    tokens
  • 587 Views
  • 2 replies
  • 0 likes

API return favicon URLs with trailing space

My Question or IssueCurrently the Spotify API incorrectly returns HTML icon meta tags with trailing spaces, eg. I have tried a few different ones so far and it seems to apply to both tracks and playlists:https://open.spotify.com/playlist/636JPjFfxIu...

  • Visitor
  • My Question or Issue Currently the Spotify API incorrectly returns HTML icon meta tags with trailing spaces, eg. <link rel="icon" href="https://open.scdn.co/cdn/images/favicon.0c211e2e.png "> ...
  • 246 Views
  • 0 replies
  • 0 likes
  • api
  • 246 Views
  • 0 replies
  • 0 likes

Add tracks to playlist with snapshot ID

The documentation for working with playlists through the API discusses snapshots IDs, which allow for sending requests to the API that modify a playlist concurrently. And you can include a snapshot ID in requests to remove tracks and reorder/replace ...

  • Casual Listener
  • The documentation for working with playlists through the API discusses snapshots IDs, which allow for sending requests to the API that modify a playlist concurrently. And you can include a snapshot I...
  • morcanie
  • Casual Listener
  • 749 Views
  • 1 replies
  • 0 likes
  • question
  • 749 Views
  • 1 replies
  • 0 likes

KeyError ['total']

I am creating a user dashboard using plotly and flask to display the top tracks and top artists preferred by a user. My code has been working fine but suddenly I got this error. Also, in the same application, I was able to create a new playlist on sp...

bleh.png
  • Newbie
  • I am creating a user dashboard using plotly and flask to display the top tracks and top artists preferred by a user. My code has been working fine but suddenly I got this error. Also, in the same app...
  • 575 Views
  • 0 replies
  • 0 likes
  • flask
    Python
    Spotify
  • 575 Views
  • 0 replies
  • 0 likes

Superuser Contribution "User not approved for app" for another member in the premium family plan in development mode

PlanFamily PremiumCountryUSDeviceWindowsOperating SystemWindows My Question or IssueMy app in development can allow myself to run but the app returned "User not approved for app" even after I have added the member's email in the dev dashboard for 24 ...

  • Newbie
  • Plan Family Premium Country US Device Windows Operating System Windows   My Question or Issue My app in development can allow myself to run but the app returned "User not approved for ...
  • ohej
  • Spotify
  • 326 Views
  • 1 replies
  • 0 likes
  • PossibleBug
  • 326 Views
  • 1 replies
  • 0 likes

Superuser Contribution Use of "Spotify" word inside app and content

Hi, i've developed an Android app that's called "Spotify Top Stats".It connects to the user's Spotify account via official OAuth procedure and shows some statistics about Spotify usage.My question is: can i use the word "Spotify" inside my app name a...

  • Newbie
  • Hi,  i've developed an Android app that's called "Spotify Top Stats". It connects to the user's Spotify account via official OAuth procedure and shows some statistics about Spotify usage. My ...
  • ohej
  • Spotify
  • 268 Views
  • 1 replies
  • 0 likes
  • question
  • 268 Views
  • 1 replies
  • 0 likes