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
1
vote
1 answer

My API data is not being rendered with React

I'm learning React by making a Spotify clone and for now, what I'm trying to do is to show Spotify sections such as "last played songs", "top artists" and "top songs" through a component called Body.js. I get the data from a Spotify official API…
FERRE FACU
  • 11
  • 3
1
vote
0 answers

Spotify api invalid_grant, Invalid authorization code in only Firefox

I'm able to authenticate on Chrome, Safari etc. except Firefox. the authentication flow url…
Volkan Akın Paşa
  • 364
  • 2
  • 3
  • 18
1
vote
2 answers

Setting up Spotify API in Android Studio

I've been following the Spotify quick start guide but am having issues around the "Add the App Remote SDK" section. When I try to import the module I get these options. But I don't see the "Import .JAR/AAR Package" button like they show. Instead I…
1
vote
0 answers

How to use Spotify API to find path between two artists

I am trying to mimic this site :http://boilthefrog.playlistmachinery.com/index.html source code: https://github.com/plamere/BoilTheFrog What I can do: Use Spotify API to do queries and searches. Problem: How to build a graph that can find the path…
Justin Ding
  • 415
  • 1
  • 5
  • 16
1
vote
0 answers

Wait until app gets authorization with SpotifyAPI-Net 5.1.1

I want my app to first get authorization and then do something with it, e.g. display user's name. The following code returns an error. SpotifyWebApi api; // (1) Get authorization (code from the official guide) AuthorizationCodeAuth auth = new…
Wiktor
  • 71
  • 1
  • 9
1
vote
1 answer

How to keep looking at current playing song on Spotify to see if it changed

I'm just trying to figure out how to keep checking to see if there is a song playing on Spotify using Spotipy then print it, and when the song changes it is supposed to also print out what it changed to. This should keep going on until the program…
1
vote
1 answer

Heroku app having trouble with Spotify API token

So I've been using Flask to create an app that uses Spotify API, and the authorization code flow works perfectly fine when running on my localhost server. However, after deploying the app to Heroku, occasionally the app will crash and give me a…
1
vote
1 answer

Request failed with status code 404 error

I'm trying to build a Spotify web app now. I'd like to display an artist's albums when an user clicks the artist from its search result. When I try the code below, I get Request failed with status code 404. SingerBox.js import React, { Component }…
Will
  • 161
  • 1
  • 1
  • 9
1
vote
0 answers

Spotify API searchTracks filtering by language

gettingTracks(){ // store the current promise in case we need to abort it if (prev !== null) { prev.abort(); } // store the current promise in case we need to abort it prev = spotifyApi.searchTracks('genre: hip-hop…
Surya
  • 576
  • 1
  • 4
  • 16
1
vote
1 answer

Data Scraping Using Spotifyr

I am trying to scrape music from my own spotify playlist using the R package spotifyr. However, I keep running into an issue when executing certain functions such as get_user_playlist. Whenever I execute these functions I get "Waiting for…
Jose Alfaro
  • 69
  • 1
  • 6
1
vote
0 answers

How to fix "com.spotify.android.appremote.api.error.AuthenticationFailedException"

I'm making an Android app which uses the Spotify app-remote SDK. But it gives an error when connecting to the Spotify server. The code is the same as the code of the example project of Spotify included with the SDK. I changed the client id en…
1
vote
3 answers

Code inside while loop not being executed JavaScript

I am working with this while loop and it is not working. I decided to use the Google Chrome debugger and I saw that the code inside is not being executed. All the time it checks the condition, starts the first line of the code inside, and goes back…
Helguera
  • 85
  • 1
  • 8
1
vote
1 answer

Spotify API create playlist return { error: { status: 400, message: 'Error parsing JSON.' } }

I am working on Spotify on node, when I try to create a playlist, it keep return { error: { status: 400, message: 'Error parsing JSON.' } } function create_playlist(user_id,access_token){ var options = { url:…
1
vote
1 answer

How to get spotify Player in Android

On Successful Authorization, I am able to play hard coded track, but their is neither any player nor any pause, stop, play buttons there. I followed this tutorial, and did everything mentioned there. Now i need to add spotify Player, but i am…
dev90
  • 7,187
  • 15
  • 80
  • 153
1
vote
3 answers

Spotify web API authorization

I'm trying to authorize Spotify web API according to this: https://developer.spotify.com/web-api/authorization-guide/ However, I got the following error: search.component.ts (18,5): Supplied parameters do not match any signature of call…
Hoàng Nguyễn
  • 1,121
  • 3
  • 33
  • 57