Questions tagged [spotify-app]

The Spotify App API is no longer supported by Spotify. It allowed developers to work with Spotify using modern web technologies. For Spotify API questions that are not about the App API, use the [spotify] tag.

The Spotify platform allowed 3rd party developers to create applications using the Spotify Apps API as web applications integrated into the desktop product using Chrome Embedded Framework. It is no longer accepting new changes - announcement.

What Questions should I ask?

Questions using this tag should be about how to use one of these platforms. You may find that, in some cases, a question that arises while developing for these platforms is not Spotify specific; e.g. a common JavaScript question while creating a Spotify App. In many cases, you should tag your question with the tag instead. However, the Spotify platform does have its own idiosyncrasies, so may be appropriate. It is also advisable to include the tag as well, to ensure wider visibility.

Platforms

Spotify Apps API

The newest addition to the platform is the Spotify Apps API, which allows developers to create applications which are tightly integrated to the Spotify application. Such applications are created using a mix of HTML5, JavaScript and CSS. Because of this, as well as the official documentation's usefulness, developers should also find any documentation on HTML5, JavaScript, and CSS (such as the Mozilla Developer Center) useful.

The JavaScript API accessible within the Spotify App environment gives access to classes representing Albums, Tracks and Artists; amongst others.

Useful Resources

200 questions
3
votes
0 answers

Edit scope authorization Spotify API

I'm using the Spotify API and basically I want to be able to access a user's playlists, modify playlists, and create new playlists. I was using the JavaScript wrapper for client side (https://github.com/JMPerez/spotify-web-api-js) and an implicit…
2016rshah
  • 671
  • 6
  • 19
3
votes
0 answers

Streaming a Spotify track when using the Web API

I'm not really happy with the Windows Phone Spotify app. I'm looking into developing my own Spotify client using the Web API. It looks like it's not possible to stream a track using the Web API, after receiving the track metadata. Is this conclusion…
Martijn
  • 31
  • 1
  • 2
3
votes
1 answer

Custom Web Player for Spotify

As far as I know, it is not possible to develop a Web app (outside spotify.com) providing a custom Web player which plays Spotify songs, am I right? The only option still seems to be the spotify play button, which is very limited though. I have just…
Eugenio
  • 3,195
  • 5
  • 33
  • 49
3
votes
1 answer

Is it possible to get the currently playing track in the 1.x apps api?

I am trying to update my Spotify remote control app that is currently using the legacy API to use the new 1.x API. Is it possible using the 1.x API to access information about the currently playing track? models.player.track does not seem to exist…
jerblack
  • 1,203
  • 15
  • 15
3
votes
2 answers

Spotify API Create Temp Playlist Not Loading

I'm making a little app that displays a list of the top first song of an artist's related artists. When I try and load my app for the first time, it shows nothing. But, when I "Reload Application" everything seems to work. When I constantly start…
cusejuice
  • 10,285
  • 26
  • 90
  • 145
2
votes
3 answers

Axios response.data weird characters

router.get('/spotifyLogin', (req,res) => { const state = generateRandomString(16); const scope = 'user-read-recently-played'; const queryParams = querystring.stringify({ response_type: 'code', client_id: client_id, …
Jayden Yu
  • 41
  • 3
2
votes
1 answer

{"error":"unsupported_grant_type","error_description":"grant_type parameter is missing"} for Spotify API

Using Spotify Documentation for Client Credential Flow (https://developer.spotify.com/documentation/general/guides/authorization/client-credentials/) I was able to create an API request in JavaScript: function getoAuth () { const client_id =…
2
votes
0 answers

Connecting to Spotify API using R- Authentication Token Issue

I am trying to connect to spotify API to get some data from my recently listened to tracks using this link "https://developer.spotify.com/console/get-recently-played/?limit=&after=&before=". In order to access this API, however, I need to generate…
sal461
  • 19
  • 2
2
votes
1 answer

Basic Auth not working in Alamofire Swift

I am trying to get a Client Credential token, which is needed for Spotify's public Web API to search for public tracks. It is extremely simple to get a token using postman. REQUEST BODY PARAMETER: VALUE: grant_type Set it to client_credentials.…
Rage
  • 870
  • 9
  • 27
2
votes
1 answer

Song plays in only premium Spotify account

I am developing a iPhone application with integrating Spotify SDK. I am facing some issue regarding premium account and simple account. I am trying to play song with Spotify simple account without any premium account, but it always showing an…
Sham Dhiman
  • 1,348
  • 1
  • 21
  • 59
2
votes
0 answers

INVALID_CLIENT spotify SDK android

{"message":"Client authentication failed:INVALID_CLIENT"} com.spotify.android.appremote.api.error.AuthenticationFailedException: {"message":"Client authentication failed:INVALID_CLIENT"} I'm doing integration to the spotify SDK with native Android,…
2
votes
1 answer

Is it possible to get the most popular artist per city with the Spotify API?

I am wondering if it is possible to get the most popular artist of my city with the Spotify API.
user007
  • 1,557
  • 3
  • 16
  • 24
2
votes
0 answers

500 errors when trying to refresh Spotify token C#

I keep getting 500 errors when trying to refresh my Spotify token. error: {"error":"server_error"} request: POST https://accounts.spotify.com/api/token HTTP/1.1 Authorization: Basic ZWM.....WI= Host: accounts.spotify.com Content-Length: 170 Expect:…
2
votes
0 answers

401 GET Error Trying to access Spotify tracks href

I am trying to access tracks from a playlist with xinranxiao:spotify-web-api for MeteorJS. I sign in with a spotify account and am able to access data from spotify api. I am able to obtain users playlists, tracks, and artists etc. However If I try…
Felice
  • 571
  • 1
  • 7
  • 22
2
votes
2 answers

How do I get metadata from Spotify SDK on Android?

I'm building an app with the lastest Spotify SDK, it's working fine but now i want to get LoginUser's metadata as displayName, birthday and country, also want to get Track's metadata as Artist, SongName, Album, YearFromAlbum(if its possible), I can…
Maverick.pe
  • 1,917
  • 4
  • 15
  • 20
1
2
3
13 14