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

Make Spotify Web Player Emit Device ID After Connecting

Hey! Is there any way to make a web player emit the device ID after calling the player.connect() function again? Sometimes, when the player disconnects for any reason, you need to invoke this function, but the device ID of the player changes. Thanks!

  • Casual Listener
  • Hey!   Is there any way to make a web player emit the device ID after calling the player.connect() function again?   Sometimes, when the player disconnects for any reason, you need to i...
  • 105 Views
  • 0 replies
  • 0 likes
  • Discussion
    Feature Request
  • 105 Views
  • 0 replies
  • 0 likes

Superuser Contribution Returning "Invalid Client" in Authentication last step to generate access token

PlanFreeCountryIndiaDeviceLenovo ideapad 100Operating SystemWindows 8.1 pro My Question or IssueI always receive this error when I run command to generate access token from authentication steps{error: 'invalid_client', error_description: 'Invalid cli...

  • Regular
  • Plan Free Country India Device Lenovo ideapad 100 Operating System Windows 8.1 pro   My Question or Issue I always receive this error when I run command to generate access token from...
  • Peter_Schorn
  • Roadie
  • 5082 Views
  • 12 replies
  • 1 likes
  • bug
    Error
  • 5082 Views
  • 12 replies
  • 1 likes

Looking for website embed feature

I want to add Spotify to the webpage and link it to a specific playlist of podcasts relevant to website services. Is there any code I can insert into my webpage? If there is a way, please suggest a way to implement it. Looking for help in this regard...

  • Visitor
  • I want to add Spotify to the webpage and link it to a specific playlist of podcasts relevant to website services. Is there any code I can insert into my webpage? If there is a way, please suggest a w...
  • 161 Views
  • 0 replies
  • 0 likes
  • embed
    Feature Request
  • 161 Views
  • 0 replies
  • 0 likes

Solved!! Beginner Project

Hi there,I’m currently wanting to build a website that matches users with songs based on a “music personality test” that asks questions similar to the Spotify’s song features they add to tracks (like danceability and acousticness) to then search the ...

  • Casual Listener
  • Hi there, I’m currently wanting to build a website that matches users with songs based on a “music personality test” that asks questions similar to the Spotify’s song features they add to tracks (li...
  • nathanbobell
  • Casual Listener
  • 294 Views
  • 2 replies
  • 1 likes
  • question
  • 294 Views
  • 2 replies
  • 1 likes

Superuser Contribution Autorize enpoint not working

Hello, I am trying to use the spotify public aPI, and for this I am trying to generate a token according to this documentation: https://developer.spotify.com/documentation/general/guides/authorization/code-flow/ The problem is that whenever I try to ...

  • Casual Listener
  • Hello,   I am trying to use the spotify public aPI, and for this I am trying to generate a token according to this documentation:   https://developer.spotify.com/documentation/general/g...
  • spotifyjosh
  • Spotify
  • 438 Views
  • 2 replies
  • 0 likes
  • authorize
  • 438 Views
  • 2 replies
  • 0 likes

Is there a way to terminate the player when our app closes.

Hello! We have an app that used the old Spotify SDK to stream music. We are now migrating to the new SDK, but we have not been able to find a way to terminate the Spotify player when the app closes. Instead users need to close our app, and then close...

  • Casual Listener
  • Hello!   We have an app that used the old Spotify SDK to stream music.   We are now migrating to the new SDK, but we have not been able to find a way to terminate the Spotify player whe...
  • 116 Views
  • 0 replies
  • 0 likes
  • close
    Close App
    SDK
    Streaming SDK
  • 116 Views
  • 0 replies
  • 0 likes

Add a search Music Page inside my website

Country United States of America I love Spotify and I like doing this via Spotify My Question I'm a Dj and I try to build a page on my website for my clients so:1- They can search for a favorite Music and Add Music to the playlist of their Events on ...

  • Visitor
  • Country United States of America    I love Spotify and I like doing this via Spotify  My Question   I'm a Dj and I try to build a page on my website for my clients so: 1- Th...
  • 125 Views
  • 0 replies
  • 0 likes
  • HTML
  • 125 Views
  • 0 replies
  • 0 likes

Solved!! share a playlist with other spotify users?

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or Issue

  • Visitor
  • 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  
  • Ximzend
  • Roadie
  • 199 Views
  • 1 replies
  • 0 likes
  • question
  • 199 Views
  • 1 replies
  • 0 likes

Hardware Partner Application No Response

CountryUnited States My Question or IssueMy company has submitted a hardware partner application over a month ago and has not received any communication from Spotify yet, is there some way to get a status update? We would like to integrate Spotify in...

  • Visitor
  • Country United States   My Question or Issue My company has submitted a hardware partner application over a month ago and has not received any communication from Spotify yet, is there some w...
  • Speediance
  • Visitor
  • 274 Views
  • 1 replies
  • 0 likes
  • hardware partner application
  • 274 Views
  • 1 replies
  • 0 likes

Ads API create/update campaign

Hi Team,I am developer I can able to push the campaign into Spotify ad-studio using campaign ads api, But I wish I could do this for An artist's music on Spotify instead of A concert or artist merch, This is possible in Adstudio UI, because in ads ap...

  • Newbie
  • Hi Team, I am developer I can able to push the campaign into Spotify ad-studio using campaign ads api, But I wish I could do this for An artist's music on Spotify instead of A concert or a...
  • 95 Views
  • 0 replies
  • 0 likes
  • Ads API
    question
  • 95 Views
  • 0 replies
  • 0 likes

502 Gateway in Start/Resume Playback

$headers = [ 'Authorization' => 'Bearer ' . $request->_token, 'Accept' => 'application/json', 'uris' => 'spotify:episode:' . $request->id, 'position_ms' => 0, ]; $res = $client->request('PUT', 'https://api.spotify.com/v1/me/player/play? device_id=' ....

  • Visitor
  •   $headers = [             'Authorization' => 'Bearer ' . $request -> _token ,             'Accept' =&...
  • 120 Views
  • 0 replies
  • 0 likes
  • 502 Gateway in Playback
  • 120 Views
  • 0 replies
  • 0 likes

[Steam Deck][Linux][Partnership] Official support for Valve's Steam Deck

Hello Since the production and shipping for Valve's Steam Deck is currently on the uptick it seems prudent that Spotify should jump right in and produce an official version for the Deck and form a partnership with Valve. For those who might not have ...

Spotify_linux.png
  • Casual Listener
  • Hello   Since the production and shipping for Valve's Steam Deck is currently on the uptick it seems prudent that Spotify should jump right in  and produce an official version for the Dec...
  • 198 Views
  • 0 replies
  • 1 likes
  • Linux
    Partnership
  • 198 Views
  • 0 replies
  • 1 likes

Repo for the app-remote-SDK

Hi All,Per this 9/14/18 article, the App Remote SDK betas for iOS and Android were committed to Github at /spotify/ios-sdk and .../android-sdk, respectively. Were the respective versions of the 'Streaming SDK' also at those URLs and hence, the A.R. v...

  • Casual Listener
  • Hi All, Per this 9/14/18 article, the App Remote SDK betas for iOS and Android were committed to Github at /spotify/ios-sdk and .../android-sdk, respectively. Were the respective versions of the 'St...
  • 186 Views
  • 0 replies
  • 0 likes
  • question
  • 186 Views
  • 0 replies
  • 0 likes

Update playlist tracks doesn't recognise "uris" parameter

I'm trying to update the tracks in a playlist using the playlists/playlist_id/tracks PUT action, as described at https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-replace-playlists-tracks.I'm using this curl comman...

  • Newbie
  • I'm trying to update the tracks in a playlist using the playlists/playlist_id/tracks PUT action, as described at https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-...
  • Ximzend
  • Roadie
  • 1029 Views
  • 3 replies
  • 1 likes
  • Error
    Web API
  • 1029 Views
  • 3 replies
  • 1 likes

player/currently-playing endpoint not working in Spotify for windows desktop app

I'm using this endpoint to get the currently playing song info. https://api.spotify.com/v1/me/player/currently-playing Whenever I use my phone the api returns the album/track info in JSON format as specified in the docs and everything works fine; how...

  • Casual Listener
  • I'm using this endpoint to get the currently playing song info.    https://api.spotify.com/v1/me/player/currently-playing   Whenever I use my phone the api returns the album/tr...
  • soumikdasgupta1
  • Casual Listener
  • 340 Views
  • 4 replies
  • 1 likes
  • endpoint error
  • 340 Views
  • 4 replies
  • 1 likes

Dealing with HTTP Status 400, Code: -1

PlanPremiumCountryIndiaDeviceHP OmenOperating SystemWindows 11 My Question or IssueSo I recently started using Spotify's API through Spotipy library in Python for a school project.The objective of our project is to analyze the songs in Billboard HOT ...

  • Newbie
  • Plan Premium Country India Device HP Omen Operating System Windows 11   My Question or Issue So I recently started using Spotify's API through Spotipy library in Python for a school pr...
  • 417 Views
  • 0 replies
  • 1 likes
  • question
  • 417 Views
  • 0 replies
  • 1 likes

(Mobile app) Discography display song list

PlanPremiumCountryUSA DeviceSamsung S21 PlusOperating SystemAndroid My Question or IssueWhy is the discography only available by album? People don't know what album has their favorite songs. Discography should have an option to view a list of all son...

  • Visitor
  • Plan Premium Country USA  Device Samsung S21 Plus Operating System Android    My Question or Issue Why is the discography only available by album? People don't know what albu...
  • 98 Views
  • 0 replies
  • 1 likes
  • Discography View
    Mobile
    Song Tab
  • 98 Views
  • 0 replies
  • 1 likes

"Only valid bearer authentication supported" error message

I've been trying to use Spotify's API for my app but every time I try to get something I get this error message "Only valid bearer authentication supported". I have registered my app and used valid client secret but error is still present. Here's the...

  • Casual Listener
  • I've been trying to use Spotify's API for my app but every time I try to get something I get this error message "Only valid bearer authentication supported". I have registered my app and used valid c...
  • vitolist
  • Casual Listener
  • 1867 Views
  • 3 replies
  • 0 likes
  • API search
    Developer API
  • 1867 Views
  • 3 replies
  • 0 likes

Solved!!Superuser Contribution Devices API not showing the .exe player but showing webplayer.

Hello, After yesterdays update to version 1.1.94.870 a number of users of the Spotify Stream Deck plugin on Windows have reported issues with the Devices API not showing the exe player (desktop player), but showing webplayer and other devices. We hav...

  • Regular
  • Hello,   After yesterdays update to version 1.1.94.870 a number of users of the Spotify Stream Deck plugin on Windows have reported issues with the Devices API not showing the exe player (desk...
  • Geekie
  • Regular
  • 2198 Views
  • 19 replies
  • 17 likes
  • API Bug
    Desktop (Windows)
    version 1.1.94
  • 2198 Views
  • 19 replies
  • 17 likes

Playlists

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueCan you shuffle all playlists you have created or all songs?

  • Newbie
  • 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 Can you...
  • 126 Views
  • 0 replies
  • 0 likes
  • Listen
    Playlists
    Questions
    songs
    Spotify
  • 126 Views
  • 0 replies
  • 0 likes