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

Solved!! Unable to refresh token with PKCE flow

I'm using the PKCE flow in my SPA.The initial authorization call works fine, with the following body parameters :code: AQC...redirect_uri: http://localhost:3000/myappgrant_type: authorization_codecode_verifier: DHo4...client_id: f50...Spotify returns...

  • Casual Listener
  • I'm using the PKCE flow in my SPA. The initial authorization call works fine, with the following body parameters : code: AQC... redirect_uri: http://localhost:3000/myapp grant_type: a...
  • Neumann_
  • Casual Listener
  • 220 Views
  • 1 replies
  • 0 likes
  • OAuth
    oAuth2
    PKCE
  • 220 Views
  • 1 replies
  • 0 likes

Spotify Api effect on iFrame with premium account

My Question or IssueI found iFrame volume is too high and i wants to change it but not finding any solution / iFrame don't have that functionality. while searching i found that the spotify api can set the volume of premium account. and code given bel...

  • Casual Listener
  • My Question or Issue I found iFrame volume is too high and i wants to change it but not finding any solution / iFrame don't have that functionality. while searching i found that the spotify api can ...
  • 103 Views
  • 0 replies
  • 0 likes
  • question
  • 103 Views
  • 0 replies
  • 0 likes

Embed widget color

PlanPremiumCountryRomaniaDeviceDesktopOperating SystemWindows 10 My Question or IssueIs there any way to use a custom background color for the embed widget or are we limited to the 2 options displayed when creating the code?

  • Casual Listener
  • Plan Premium Country Romania Device Desktop Operating System Windows 10   My Question or Issue Is there any way to use a custom background color for the embed widget or are we limited ...
  • 169 Views
  • 0 replies
  • 0 likes
  • color
    embed
    Widget
  • 169 Views
  • 0 replies
  • 0 likes

Embed widget asci code encoding issue

PlanPremiumCountryRomaniaDeviceDesktopOperating SystemWindows 10 My Question or IssueI'm trying to embed some podcasts on my site and the titles are having some issues with the character encoding. They're displaying the apostrophes as ' and the & cha...

  • Casual Listener
  • Plan Premium Country Romania Device Desktop Operating System Windows 10   My Question or Issue I'm trying to embed some podcasts on my site and the titles are having some issues with ...
  • banan99
  • Newbie
  • 167 Views
  • 1 replies
  • 1 likes
  • asci
    character encoding
    embed
    Widget
  • 167 Views
  • 1 replies
  • 1 likes

Need Premium web apis for app.

PlanPremiumCountryUs Device(All iOS & Android Devices)Operating System(iOS, Android) I want to integrate the web apis in my app on android and ios, Please can you confirm the premium plans of the apis executions.Actually currently I have used your ap...

  • Casual Listener
  • Plan Premium Country Us   Device (All iOS & Android Devices) Operating System (iOS, Android)   I want to integrate the web apis in my app on android and ios, Please can you co...
  • vivekD7
  • Casual Listener
  • 397 Views
  • 3 replies
  • 1 likes
  • Discussion
    feature request
  • 397 Views
  • 3 replies
  • 1 likes

Tracks played via playlists missing from stats

HelloSo I'm trying to test out how the songs I listen to come out in my "listening stats". There's a few playlists that I frequently listen to a lot, to the point I hardly listen to anything else of my own selection and yet the songs that these lists...

  • Newbie
  • Hello So I'm trying to test out how the songs I listen to come out in my "listening stats". There's a few playlists that I frequently listen to a lot, to the point I hardly listen to anything else o...
  • 95 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 95 Views
  • 0 replies
  • 0 likes

API /views endpoint unauthorized discover playlists

Hello,I'm currently developing an app where I want to get the user's discover playlists. I did it by searching the user's library by name. The problems with this approach are: If you follow multiple lets say "Discover Weekly" playlists, they are indi...

  • Casual Listener
  • Hello, I'm currently developing an app where I want to get the user's discover playlists. I did it by searching the user's library by name. The problems with this approach are: If you follow multipl...
  • SaPropper
  • Casual Listener
  • 279 Views
  • 1 replies
  • 0 likes
  • API request
    question
  • 279 Views
  • 1 replies
  • 0 likes

API - playback timestamp

Hi there,This is a Problem regarding the web api get playback state /v1/me/playerthe timestamp field is inconsistent. I am trying to accurately get users playback / progress timeThe documentation says : timestamp [integer] - Unix Millisecond Timestam...

  • Casual Listener
  • Hi there, This is a Problem regarding the web api get playback state /v1/me/player the timestamp field is inconsistent. I am trying to accurately get users playback / progress time The documen...
  • Asperatus
  • Newbie
  • 428 Views
  • 1 replies
  • 1 likes
  • api
    playback state
    time
    timestamp
  • 428 Views
  • 1 replies
  • 1 likes

Developer docs console redirects to non existing, old documentation

Hi,When clicking on 'API Reference', for example in https://developer.spotify.com/console/get-album-tracks/the link points to the page of old documentation that don't exist anymore and user is getting redirected to https://developer.spotify.com/docum...

  • Newbie
  • Hi, When clicking on 'API Reference', for example in https://developer.spotify.com/console/get-album-tracks/ the link points to the page of old documentation that don't exist anymore and user ...
  • 104 Views
  • 0 replies
  • 1 likes
  • bug
  • 104 Views
  • 0 replies
  • 1 likes

Webplayback does not work in android webview

Hey guys,I tried to implement the webplayback in an android webview. After connecting to the player a js error is thrown:Console: 11-08 18:33:05.348 [ERROR] "Uncaught (in promise) EMEError: No supported keysystem was found.", source: https://sdk.scdn...

  • Newbie
  • Hey guys, I tried to implement the webplayback in an android webview. After connecting to the player a js error is thrown: Console: 11-08 18:33:05.348 [ERROR] "Uncaught (in promise) EMEError: No su...
  • obiitonekanobi
  • Newbie
  • 329 Views
  • 1 replies
  • 2 likes
  • Possible Bug
  • 329 Views
  • 1 replies
  • 2 likes

Solved!! Move Specific Track to Top of Playlist by URI

Hello. It looks like the PUT playlists/{playlistid}/tracks endpoint (https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-replace-playlists-tracks) only lets you move a track if you know its position already, is that ...

  • Regular
  • Hello.  It looks like  the PUT playlists/{playlistid}/tracks endpoint ( https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-replace-playlists-tracks ) o...
  • cyganex
  • Casual Listener
  • 347 Views
  • 4 replies
  • 0 likes
  • question
  • 347 Views
  • 4 replies
  • 0 likes

Legal rights

Hello!Hope you are doing well.My name is Igor.I have one question. Recently I’ve started YouTube channel on WEB Development - https://www.youtube.com/channel/UCXkcYikLC-TwF_H373bECFQ where I mainly develop clones of popular web apps. One of such apps...

  • Newbie
  • Hello! Hope you are doing well. My name is Igor. I have one question. Recently I’ve started YouTube channel on WEB Development - https://www.youtube.com/channel/UCXkcYikLC-TwF_H373bECFQ wh...
  • 104 Views
  • 0 replies
  • 0 likes
  • legal rights
  • 104 Views
  • 0 replies
  • 0 likes

[Developer] Artists monthly Listeners For a Given Month

On the developer api, if there was an endpoint like:'artists/{artist_id}/monthly-listeners/{year}/{month}'Where you could retrieve how many listeners an artist had that month.It would open room for so many educational analysis on what could've impact...

  • Newbie
  • On the developer api, if there was an endpoint like: 'artists/{artist_id}/monthly-listeners/{year}/{month}' Where you could retrieve how many listeners an artist had that month. It would open room...
  • 108 Views
  • 0 replies
  • 0 likes
  • Developer
  • 108 Views
  • 0 replies
  • 0 likes

Past snapshot_id for shared playlist?

Some context: At the beginning of this year, I started a weekly tradition where friends and I add one song to a shared playlist that we think the group should hear. At the end of the week, I move the songs to a different playlist to archive them, and...

  • Newbie
  • Some context: At the beginning of this year, I started a weekly tradition where friends and I add one song to a shared playlist that we think the group should hear. At the end of the week, I move the...
  • 145 Views
  • 0 replies
  • 0 likes
  • Developer
    Developer API
    Shared playlist
    shared playlists
  • 145 Views
  • 0 replies
  • 0 likes

Embedding full song into Wordpress?

Hi - I've googled this question and searched the forum but didn't find an answer. My client forwarded me a message from Spotify saying: "Embedding your Spotify tracks on your website lets the viewer listen to your music without leaving the website." ...

  • Newbie
  • Hi - I've googled this question and searched the forum but didn't find an answer. My client forwarded me a message from Spotify saying: "Embedding your Spotify tracks on your website lets the vi...
  • 129 Views
  • 0 replies
  • 1 likes
  • embedding
    question
  • 129 Views
  • 0 replies
  • 1 likes

Monthly listeners API endpoint

PlanFreeCountryItalyDeviceDesktopOperating SystemWindows 10 My Question or IssueCollecting these info in attached picture is crucial for me and it would be amazing having an API endpoint! In the last few days I read about lot of people asking for it ...

  • Casual Listener
  •   Plan Free Country Italy Device Desktop Operating System Windows 10   My Question or Issue Collecting these info in attached picture is crucial for me and it would be amazing h...
  • 195 Views
  • 0 replies
  • 4 likes
  • feature request
  • 195 Views
  • 0 replies
  • 4 likes

[API] Seek to Position Bug/Broken

API Endpoint Example:PUThttps://api.spotify.com/v1/me/player/seek?position_ms= Regardless of the integer given for "position_ms" track seeks to 0. API returns response 204 like normal but will not seek to any position other than 0. -Have tried with/w...

  • Newbie
  • API Endpoint Example: PUT https://api.spotify.com/v1/me/player/seek?position_ms=   Regardless of the integer given for "position_ms" track seeks to 0. API returns response 204 like normal bu...
  • acynorman
  • Casual Listener
  • 379 Views
  • 4 replies
  • 5 likes
  • Possible Bug
  • 379 Views
  • 4 replies
  • 5 likes

error spotify-remote

PlanPremiumCountryBRASILOperating SystemAndroidMy Question or IssueI'm using spotify-remote sdk, but when I try to connect to running spotify, it returns the following error: connectToSpotify failed with: Indicates the user did not authorize this cli...

  • Newbie
  • Plan Premium Country BRASIL Operating System Android My Question or Issue I'm using spotify-remote sdk, but when I try to connect to running spotify, it returns the following error:   c...
  • dees-nuts
  • Visitor
  • 392 Views
  • 1 replies
  • 0 likes
  • Possible Bug
  • 392 Views
  • 1 replies
  • 0 likes

Like button in Android API

I am developing an android-based music player app using Kotlin and the Spotify android API My Question or IssueIs there a way that while listening to a song or playlist that a user can determined if they have previously liked that particular song?

  • Newbie
  • I am developing an android-based music player app using Kotlin and the Spotify android API   My Question or Issue Is there a way that while listening to a song or playlist that a user can det...
  • 124 Views
  • 0 replies
  • 0 likes
  • question
  • 124 Views
  • 0 replies
  • 0 likes