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
  • 18593 Views
  • 0 replies
  • 58 likes
  • Discussion
  • 18593 Views
  • 0 replies
  • 58 likes

Spotify API for Infotainment application in Ubuntu

Hi,I want to integrate Spotify in my infotainment application.If I make the code available in the below link , will I be able to use Spotify in my application.https://github.com/smaltby/spotify-api-plusplusPlease help. Is there any Subscription requi...

  • Casual Listener
  • Hi, I want to integrate Spotify in my infotainment application. If I make the code available in the below link , will I be able to use Spotify in my application. https://github.com/smaltby/spotify...
  • 224 Views
  • 0 replies
  • 0 likes
  • Spotify for Infotainment c++ applications
  • 224 Views
  • 0 replies
  • 0 likes

The callback url makes the url with hash instead of querystring

Hi, following this docs:https://developer.spotify.com/documentation/general/guides/authorization-guide/ The flow works well, but is returning back with a hash:http://localhost:5000/callback#access_token=BQDt7fHXta65b... Instead of a queryString:http:...

  • Casual Listener
  • Hi, following this docs: https://developer.spotify.com/documentation/general/guides/authorization-guide/   The flow works well, but is returning back with a hash: http://localhost:5000/callb...
  • Hubo
  • Community Legend
  • 968 Views
  • 1 replies
  • 0 likes
  • authentication
    callback
  • 968 Views
  • 1 replies
  • 0 likes

loading=lazy breaks embed iframe

Hi folks, It is now possible for a lot of browsers to load iframes lazy (https://web.dev/iframe-lazy-loading/).I tried this with the spotify embed iframe which kinda breaks it. It is still shown but there is no interaction possible. Getting this erro...

  • Newbie
  • Hi folks,   It is now possible for a lot of browsers to load iframes lazy (https://web.dev/iframe-lazy-loading/). I tried this with the spotify embed iframe which kinda breaks it. It is still...
  • Hubo
  • Community Legend
  • 692 Views
  • 1 replies
  • 1 likes
  • Feature Request
    Possible Bug
  • 692 Views
  • 1 replies
  • 1 likes

Get recently played issue

The get recently played end-point only includes songs that are played to completion.Songs don't need to be 'played for more than 30 seconds', if you only listen to the final 5 seconds of the song until it finishes it will get added to recently played...

  • Casual Listener
  • The get recently played end-point only includes songs that are played to completion. Songs don't need to be 'played for more than 30 seconds', if you only listen to the final 5 seconds of the song u...
  • 198 Views
  • 0 replies
  • 0 likes
  • Feature Request
    Possible Bug
  • 198 Views
  • 0 replies
  • 0 likes

Showcase a project

Hi there, I recently created a website that pulls the Spotify API and displays the artist's songs and albums and I wanted to submit it to you guys to see if I could get it posted? It's a tribute website for my favorite artist Juice WRLD so I was hopi...

  • Newbie
  • Hi there, I recently created a website that pulls the Spotify API and displays the artist's songs and albums and I wanted to submit it to you guys to see if I could get it posted?    It's...
  • Hubo
  • Community Legend
  • 369 Views
  • 1 replies
  • 0 likes
  • question
    showcase
  • 369 Views
  • 1 replies
  • 0 likes

Song Automatically Stop Playing Randomly iOS

Plan: PremiumCountry: PakistanDevice: iPhone 11, 11 Pro, X & XSMaxOperating System: iOS 13.3 & 14+ Hello Spotify Community, I have Integrated Spotify SPT Audio Streaming SDK in My application. When i Clicked on the Track Song Started Playing but i wa...

  • Casual Listener
  • Plan: Premium Country: Pakistan Device: iPhone 11, 11 Pro, X & XSMax Operating System: iOS 13.3 & 14+   Hello Spotify Community,   I have Integrated Spotify SPT Audio Streami...
  • Awais7
  • Casual Listener
  • 473 Views
  • 2 replies
  • 1 likes
  • iOS
    SDK issue's
  • 473 Views
  • 2 replies
  • 1 likes

Cross-Origin Request Blocked: CORS request did not succeed

Hi, I'm currently having an issue where any Spotify API requests I send from client-side JavaScript are resulting in CORS errors. For example, a request to get a user's saved tracks would result in the following error: Cross-Origin Request Blocked: T...

  • Newbie
  • Hi, I'm currently having an issue where any Spotify API requests I send from client-side JavaScript are resulting in CORS errors. For example, a request to get a user's saved tracks would result in t...
  • 1377 Views
  • 0 replies
  • 3 likes
  • api
    CORS
    Error
    javascript
  • 1377 Views
  • 0 replies
  • 3 likes

Full song playback with Web API

Hi i am creating a project and was wondering if there is a way to get tracks to play at full length instead of the 30 seconds.

  • Casual Listener
  • Hi i am creating a project and was wondering if there is a way to get tracks to play at full length instead of the 30 seconds.
  • tobikabla
  • Music Fan
  • 594 Views
  • 3 replies
  • 1 likes
  • Discussion
    question
  • 594 Views
  • 3 replies
  • 1 likes

Error in postman calling api/token endpoint

Building a collection in postman based off https://blog.postman.com/generate-spotify-playlists-using-a-postman-collection/ Followed all the steps to build this out. Once I run the collection, I get the following error (pasted above). Why am I getting...

Screen Shot 2021-03-05 at 6.31.24 pm.png
  • Newbie
  •   Building a collection in postman based off https://blog.postman.com/generate-spotify-playlists-using-a-postman-collection/   Followed all the steps to build this out. Once I run t...
  • 280 Views
  • 0 replies
  • 0 likes
  • api token
  • 280 Views
  • 0 replies
  • 0 likes

Display my user specific data and request user access for web playback?

PlanPremiumCountryUSOperating SystemWindows 10 My Question or IssueIs it feasible to have a website that displays my own user specific data (such as my top artists/tracks) but also incorporates the web playback sdk and allows a user (browsing the web...

  • Newbie
  • Plan Premium Country US Operating System Windows 10   My Question or Issue Is it feasible to have a website that displays my own user specific data (such as my top artists/tracks) but al...
  • 192 Views
  • 0 replies
  • 0 likes
  • question
  • 192 Views
  • 0 replies
  • 0 likes

Bug in time duration display after latest update

PlanPremiumCountry Device Operating SystemWindows 10 My Question or IssueThere seem to be a bug in the new update with the song duration displaying NaN:NaN on both sides of the song progress bar. This occurred directly of the update today when now so...

  • Newbie
  • Plan Premium Country   Device   Operating System Windows 10   My Question or Issue There seem to be a bug in the new update with the song duration displaying    &...
  • 264 Views
  • 0 replies
  • 1 likes
  • Possible Bug
  • 264 Views
  • 0 replies
  • 1 likes

personalization all-time vs long-term

Premium, US lol is it just me or did the get users top tracks/artists: long-term used to return the users top tracks/artist of all-time but now just from the past few years? (i feel like something must have changed because Waving Through a Window was...

  • Newbie
  • Premium, US   lol is it just me or did the get users top tracks/artists: long-term used to return the users top tracks/artist of all-time but now just from the past few years?    (...
  • cristiangiann
  • Newbie
  • 326 Views
  • 1 replies
  • 0 likes
  • question
  • 326 Views
  • 1 replies
  • 0 likes

Get Typical Distributions for Audio Features

I am doing a data analysis of my Spotify listening data for 2020. I got the audio features for each track (acousticness, danceability, etc...) and plot the distribution for each feature using seaborn.I would like to compare these distribution plots t...

  • Visitor
  • I am doing a data analysis of my Spotify listening data for 2020. I got the audio features for each track (acousticness, danceability, etc...) and plot the distribution for each feature using seaborn...
  • geef
  • Newbie
  • 1237 Views
  • 1 replies
  • 0 likes
  • api
    Python
  • 1237 Views
  • 1 replies
  • 0 likes

Album Embed not playing correctly

PlanPremiumCountryAustraliaDeviceLaptopOperating SystemWindows 10, Chrome Browser My Question or Issue We have noticed an issue with the album embed affecting users who are logged in with a Spotify Premium account. Occasionally, after the widget has ...

  • Newbie
  • Plan Premium Country Australia Device Laptop Operating System Windows 10, Chrome Browser   My Question or Issue   We have noticed an issue with the album embed affecting users wh...
  • 318 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 318 Views
  • 0 replies
  • 0 likes

Missing songs

PlanPremiumCountryCanadaDeviceiPhone XS MaxOperating SystemiOS 14.4 My Question or IssueSo many of my favourite korean songs/playlists seem not working normal as I see empty titles or missing songs that existed a few days ago and now they're gone bla...

  • Newbie
  • Plan Premium Country Canada Device iPhone XS Max Operating System iOS 14.4   My Question or Issue So many of my favourite korean songs/playlists seem not working normal as I see empty ...
  • serpencexalloid
  • Newbie
  • 313 Views
  • 2 replies
  • 1 likes
  • Possible Bug
  • 313 Views
  • 2 replies
  • 1 likes

Risk of exposing app security key on frontend

Hello,I want to use the app private and secret keys on a frontend page to retrieve some playlist data via API.Is there any risk of exposing the app secret key on frontend?If yes - what can somebody do if he knows my secret key?Thanks in advance.

  • Newbie
  • Hello, I want to use the app private and secret keys on a frontend page to retrieve some playlist data via API. Is there any risk of exposing the app secret key on frontend? If yes - what can some...
  • 263 Views
  • 0 replies
  • 0 likes
  • api oauth
  • 263 Views
  • 0 replies
  • 0 likes

I urgently need approval from Spotify to make an app

Some context first: I'm a student doing the IB (international baccalaureate), a part of the computer science course involves building your own program. So my idea, was to make a Spotify trivia game, where the app would take information from Spotify l...

  • Regular
  • Some context first: I'm a student doing the IB (international baccalaureate), a part of the computer science course involves building your own program.   So my idea, was to make a Spotify triv...
  • 270 Views
  • 0 replies
  • 0 likes
  • question
  • 270 Views
  • 0 replies
  • 0 likes

[Bug] Broken Anchor Tag in Web API Reference

https://developer.spotify.com/documentation/web-api/reference/ The User API link on the left navigation is broken on the webpage.The link on the navigation pane either needs to be changed to "category-users-profile" or the header's ID needs to be cha...

ROXASBrandon_0-1614721614810.png ROXASBrandon_1-1614721654374.png ROXASBrandon_2-1614721694537.png
  • Casual Listener
  • https://developer.spotify.com/documentation/web-api/reference/   The User API link on the left navigation is broken on the webpage. The link on the navigation pane either need...
  • Hubo
  • Community Legend
  • 255 Views
  • 1 replies
  • 0 likes
  • Possible Bug
  • 255 Views
  • 1 replies
  • 0 likes

Are recommendations sorted?

PlanPremiumCountryNL My Question or IssueAre the recommendations based on seed song/artist/genre (only, i.e. no other parameters) ordered on relevancy or are they sorted randomly? In the reference documents they state this about the RecommendationsOb...

  • Casual Listener
  • Plan Premium Country NL   My Question or Issue Are the recommendations based on seed song/artist/genre (only, i.e. no other parameters) ordered on relevancy or are they sorted randoml...
  • qegqeg
  • Casual Listener
  • 274 Views
  • 1 replies
  • 0 likes
  • question
  • 274 Views
  • 1 replies
  • 0 likes

Commercial License Request

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueOn December 02,2020, I completed an application for a commercial license from Spotify. I prov...

  • Music Fan
  • Plan Free/Premium Country   Device (iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016) Operating System (iOS 10, Android Oreo, Windows 10,etc.)   My Question or Issue On Dece...
  • Mitchkelly8
  • Music Fan
  • 549 Views
  • 2 replies
  • 0 likes
  • question
  • 549 Views
  • 2 replies
  • 0 likes