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

Spotify Web Playback SDK: Blocked frame from accessing cross-origin frame

Hi,I'm using the web playback SDK with the code example provided (https://developer.spotify.com/documentation/web-playback-sdk/quick-start/) and I'm getting this error on Google Chrome:Unable to check top-level optout: Blocked a frame with origin "ht...

  • Regular
  • Hi, I'm using the web playback SDK with the code example provided (https://developer.spotify.com/documentation/web-playback-sdk/quick-start/) and I'm getting this error on Google Chrome: Unable...
  • 241 Views
  • 0 replies
  • 0 likes
  • Playback SDK
    Web API
  • 241 Views
  • 0 replies
  • 0 likes

[Web API] Recent pagination problem with 'Get User's Followed Artists'.

Plan[Premium]Country[US]Device[Macbook Pro late 2016]Operating System(MACOS 10.3) My Question or IssueRecent pagination problem with The Web API 'Get User's Followed Artists'.I paginate through pages of thehttps://api.spotify.com/v1/me/following?type...

  • Casual Listener
  • Plan [Premium] Country [US] Device [Macbook Pro late 2016] Operating System (MACOS 10.3)   My Question or Issue Recent pagination problem with The Web API 'Get User's Followed Artists'...
  • 165 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 165 Views
  • 0 replies
  • 0 likes

[Playlist API]How to get the playlist ID for all playlists

Hi,I want to get the playlist IDs of all the playlists that exist on Sportify for my app development, and pass them to the "Get a Playlist" API to get the detailed data of the playlist. I know that the playlist IDs of playlists whose owner is "Sporti...

  • Visitor
  • Hi, I want to get the playlist IDs of all the playlists that exist on Sportify for my app development, and pass them to the "Get a Playlist" API to get the detailed data of the playlist.   I...
  • Peter_Schorn
  • Roadie
  • 1080 Views
  • 1 replies
  • 0 likes
  • question
  • 1080 Views
  • 1 replies
  • 0 likes

Solved!! OEmbed API missing CORS headers

It's not possible to hit the oembed endpoint from client-side JS. Try running this in your browser console on any non-Spotify domain: await fetch('https://open.spotify.com/oembed?url=https://open.spotify.com/track/6fHxL22apYBSywdSSZlp6h').then(r => r...

  • Casual Listener
  • It's not possible to hit the oembed endpoint from client-side JS. Try running this in your browser console on any non-Spotify domain:     await fetch('https://open.spotify.com/oembed?url...
  • cdrini
  • Casual Listener
  • 894 Views
  • 3 replies
  • 0 likes
  • Possible Bug
  • 894 Views
  • 3 replies
  • 0 likes

Solved!!Superuser Contribution No "Users and Access" button in the Developer Dashboard

I've been struggling with this issue for a few days now and I'm not sure what else I can do. I've tried clearing my cache in google chrome, turning off my ad blocker, clearing cookies, signing in and out, but I just can't get the button to appear for...

bphogat_0-1624178734662.jpeg
  • Casual Listener
  • I've been struggling with this issue for a few days now and I'm not sure what else I can do. I've tried clearing my cache in google chrome, turning off my ad blocker, clearing cookies, signing in and...
  • bphogat
  • Casual Listener
  • 475 Views
  • 2 replies
  • 0 likes
  • Possible Bug
  • 475 Views
  • 2 replies
  • 0 likes

Superuser Contribution Developer API | Pricing | Quota | Legalities

Hi,I am creating a platform for Indi Artists in our Local Language and I am creating an app for it. Can I use the Spotify API to add tracks from Spotify in that language so that my users can listen to them on my app?Is there a usage quota? My app wil...

  • Visitor
  • Hi, I am creating a platform for Indi Artists in our Local Language and I am creating an app for it. Can I use the Spotify API to add tracks from Spotify in that language so that my users can listen...
  • IamAliSufyan
  • Visitor
  • 1866 Views
  • 3 replies
  • 0 likes
  • API Pricing
    Developer API
    Developer question integrating spotify in mobile app
  • 1866 Views
  • 3 replies
  • 0 likes

Superuser Contribution 403 User not approved for app

PlanPremiumCountryFranceDevicePC, MacOperating SystemLinux Ubuntu and Mac OS My Question or IssueAuthenticating my own user against the Spotify Web API through OAuth works well for a while, but I tried yesterday to authenticate another user (premium ...

  • Casual Listener
  • Plan Premium Country France Device PC, Mac Operating System Linux Ubuntu and Mac OS   My Question or Issue Authenticating my own user against the Spotify Web API through OAuth works we...
  • sachtbm
  • Casual Listener
  • 887 Views
  • 5 replies
  • 1 likes
  • Possible Bug
    question
  • 887 Views
  • 5 replies
  • 1 likes

Getting a random track/ generating a valid random track ID

I would like to create a tool that generates a truly random Spotify song, but cannot find out how this could be done. I've considered two possible approaches, which come with the following questions: 1. Is there/will there be a way of getting a rando...

  • Visitor
  • I would like to create a tool that generates a truly random Spotify song, but cannot find out how this could be done. I've considered two possible approaches, which come with the following questions:...
  • danivilardell
  • Newbie
  • 648 Views
  • 1 replies
  • 1 likes
  • feature request
    question
  • 648 Views
  • 1 replies
  • 1 likes

/v1/me/player/devices returns empty array

My Question or IssueThe /v1/me/player/devices endpoint returns empty list even when a spotify device is open. Steps to reproduce:1. Open Spotify on your Windows desktop machine (do not play anything)2. Hit the /v1/me/player/devices endpoint. Notes: I...

  • Casual Listener
  • My Question or Issue The /v1/me/player/devices endpoint returns empty list even when a spotify device is open.   Steps to reproduce: 1. Open Spotify on your Windows desktop machine (do not p...
  • ApiDoesntShowDevices
  • Newbie
  • 1274 Views
  • 6 replies
  • 4 likes
  • Possible Bug
  • 1274 Views
  • 6 replies
  • 4 likes

Personalization endpoint returns no results when offset is greater than 49

This can be evidenced via the Web Console or elsewhere. As the title suggests, when the personalization endpoint is sent a request for either artists or tracks with an offset set to 50 or greater:Expected: the items starting at the offset index would...

  • Visitor
  • This can be evidenced via the Web Console or elsewhere.   As the title suggests, when the personalization endpoint is sent a request for either artists or tracks with an offset set to 50 or gr...
  • 179 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 179 Views
  • 0 replies
  • 0 likes

Source code

Hi, I tried to contact the Spotify support about this question and got redirected by them to the developer forum so here I go. I saw you are using a dependency called MobileMediaKitClient inside the iOS Spotify app, which is licensed under Mozilla Pu...

  • Visitor
  • Hi,   I tried to contact the Spotify support about this question and got redirected by them to the developer forum so here I go.   I saw you are using a dependency called MobileMediaKit...
  • 287 Views
  • 0 replies
  • 0 likes
  • question
  • 287 Views
  • 0 replies
  • 0 likes

Superuser Contribution My app is disabled and blocked, how to appeal?

My app is disabled and blocked and the email address for appealing is not showing up in the cases list when I click the "What does this mean" link. It says "Spotify has disabled your app. You can contact us at this email address if you wish to appeal...

  • Newbie
  • My app is disabled and blocked and the email address for appealing is not showing up in the cases list when I click the "What does this mean" link. It says "Spotify has disabled your app. You can con...
  • DricksetSound2
  • Newbie
  • 411 Views
  • 2 replies
  • 0 likes
  • API account
  • 411 Views
  • 2 replies
  • 0 likes

Superuser Contribution Developer Dashboard missing features for my account

This is what mine looks like:Specifically, I need to be able to add test users so I can test out my app! But it looks like it's missing the ability to do so. I am using an older account where I'm logging in with my Spotify Username and I'm assuming t...

fredthekid_1-1623708246739.png
  • Casual Listener
  • This is what mine looks like: Specifically, I need to be able to add test users so I can test out my app! But it looks like it's missing the ability to do so.   I am using an older acco...
  • ohej
  • Spotify
  • 384 Views
  • 4 replies
  • 0 likes
  • question
  • 384 Views
  • 4 replies
  • 0 likes

Document 204 on "Get Information About The User's Current Playback"

When calling GET https://api.spotify.com/v1/me/player and the account doesn't have any device active/open, the endpoint returns a 204. However, this isn't documented here. It only lists a 200 status code. It would be nice to have this possible status...

  • Casual Listener
  • When calling GET https://api.spotify.com/v1/me/player and the account doesn't have any device active/open, the endpoint returns a 204. However, this isn't documented here. It only lists a 200 status ...
  • 225 Views
  • 0 replies
  • 1 likes
  • Possible Bug
  • 225 Views
  • 0 replies
  • 1 likes

Spotify SDK doesn't seem compatible with SharePoint framework anymore

We are a team of developers working on a product based on the SharePoint framework. The product we are working on has a couple of API integrations and one of them is Spotify's web player that is implemented using Spotify's Web SDK. A few months back ...

  • Visitor
  • We are a team of developers working on a product based on the SharePoint framework. The product we are working on has a couple of API integrations and one of them is Spotify's web player that is impl...
  • obeobe
  • Newbie
  • 304 Views
  • 1 replies
  • 1 likes
  • Possible Bug
  • 304 Views
  • 1 replies
  • 1 likes

/v1/me/player/currently-playing returning 401

Country: Canada DeviceMacbook Pro 15 inch 2019Operating SystemmacOS Big Sur 11.4 My Question or IssueWhen I call the spotify /v1/me/player/currently-playing api I receive a 401 response with message "Permissions missing". When I attempt to use the we...

  • Casual Listener
  • Country: Canada   Device Macbook Pro 15 inch 2019 Operating System macOS Big Sur 11.4   My Question or Issue When I call the spotify /v1/me/player/currently-playing api I receive a ...
  • 315 Views
  • 0 replies
  • 2 likes
  • Possible Bug
    question
  • 315 Views
  • 0 replies
  • 2 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
  • 508 Views
  • 1 replies
  • 0 likes
  • question
  • 508 Views
  • 1 replies
  • 0 likes

Using Spotify Web Api for Discord Bot

PlanFree/PremiumCountryTurkeyDevice(iPhone 6, Windows PC, etc)Operating System(Ubuntu 20.04, Windows 10) My Question or IssueHi, I am writing a bot for Discord with music capabilities. I create a play command to play music. I want to get track or pla...

  • Newbie
  • Plan Free/Premium Country Turkey Device (iPhone 6, Windows PC, etc) Operating System (Ubuntu 20.04, Windows 10)   My Question or Issue Hi, I am writing a bot for Discord with music cap...
  • 707 Views
  • 0 replies
  • 0 likes
  • Discord
  • 707 Views
  • 0 replies
  • 0 likes

"items": []"> me/episodes is buggy! -> "total": 339 -> "items": []

Hi!who can explain this to me? + check the attachment picture....https://api.spotify.com/v1/me/episodes {"href": "https://api.spotify.com/v1/me/episodes?offset=0&limit=20","items": [],"limit": 20,"next": "https://api.spotify.com/v1/me/episodes?offset...

  • Visitor
  • Hi! who can explain this to me? + check the attachment picture.... https://api.spotify.com/v1/me/episodes   { "href": "https://api.spotify.com/v1/me/episodes?offset=0&limit=20", "items...
  • 158 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 158 Views
  • 0 replies
  • 0 likes

Use of spotify platform to build an app that offer apple shareplay experience

Planpremium CountryallDeviceiPhone iPad and macOSOperating SystemIos15 My Question or IssueCan we use the Spotify SDK to build an application letting the user sharing music in a FaceTime call with the new feature of apple shareplay. Regarding the use...

  • Newbie
  • Plan premium   Country all Device iPhone iPad and macOS Operating System Ios15   My Question or Issue Can we use the Spotify SDK to build an application letting the user sharing ...
  • 342 Views
  • 0 replies
  • 1 likes
  • iOS application
    question
  • 342 Views
  • 0 replies
  • 1 likes