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
24
votes
3 answers

Get play count of a track from Spotify API

Is it possible to get the play count of a song (for the current user)? I only found Toplist and the Track class, but neither tells me how often a user listened to a song.
TomTasche
  • 5,448
  • 7
  • 41
  • 67
10
votes
4 answers

Getting data from Spotify app (Windows/Mac)

How to get data such as that is music playing, tilte, artist from the app (Windows/Mac). There is a option with using Web API but I tested Musixmatch app and it works even when I am offline so connecting to the app is possible somehow.
Mateusz Kaflowski
  • 2,221
  • 1
  • 29
  • 35
8
votes
2 answers

launchWebAuthFlow with Spotify returns "Authorization page could not be loaded"

I registered my app on Spotify. I made sure I had the URI added to my registered app. But still every time I run this code I keep getting the same error. I am also running this in the background so I know it's not that. What am I doing wrong? Also I…
6
votes
2 answers

Spotify - sound volume - AppleScript API

I have try many, many scenario to make a script that will raise the volume with no success. here example: tell application "System Events" set MyList to (name of every process) end tell if (MyList contains "Spotify") is true then tell…
Jonathan M.
  • 63
  • 1
  • 6
5
votes
2 answers

How to Look Up Spotify IDs (Song / Track IDs) in Bulk?

I have a list of songs - is there a way (using the Spotify / Echo Nest API) to look up the Spotify ID for each track in bulk? If it helps, I am planning on running these IDs through the "Get Audio Features" part of their API. Thanks in advance!
Zach
  • 1,243
  • 5
  • 19
  • 28
5
votes
1 answer

Spotify check if access_token is expired

A small questions. At the moment i'm using Spotify Webapi, and I want to know is there a Web API Endpoint to check if an access_token is expired? At the moment I'm using GET https://api.spotify.com/v1/me to check if an access_token is expired.
shaw kwok
  • 241
  • 5
  • 11
4
votes
2 answers

Nodejs - Spotify API Refresh Token

First off. I have not worked with APIs before. The problem I have is to refresh the token. The code that's returned as a query parameter to the redirect URI seems to be needed to be put in manually each time. When I get that authentication code, the…
flx
  • 173
  • 9
4
votes
0 answers

How do I disable autoplay on Android Remote Spotify SDK

When I getPlayerApi().play(), the next song plays automatically. The same thing happens when I call getPlayerApi().skipNext() (the song after .skipNext() is called, gets played). I know that autoplay is set to ON on my Spotify App, but…
Johnny Boy
  • 790
  • 3
  • 7
  • 18
4
votes
2 answers

Where do I persist the Spotify access token?

So I have got all my auth working in my MVC web site but I want to ask: What is the recommended way to pass the access token around in my application? So, I click login, a dialog pops up and I log in. My parent window receives the access token and…
RuSs
  • 1,725
  • 1
  • 29
  • 47
3
votes
3 answers

Spotify Authentication auth_service_unavailable

I am trying to login to spotify. Although when the app is installed it always throws an AUTHENTICATION_SERVICE_UNAVAILABLE error. If the app is uninstalled the default Webview opens where the login works fine. Wished behaviour is, that the app opens…
robot_
  • 41
  • 1
  • 6
3
votes
0 answers

Spotify Android SDK: Error while running the sample application

Spotify Android SDK offer two libraries - App Remote and Authentication. There are sample application available on the github which is using these two libraries - github - Spotify Sample Application I have created two different android emulator with…
3
votes
2 answers

Artist profile information not getting from spotify api

Artist profile information not getting from api. Im calling this URL url=https://api.spotify.com/v1/artists/****7vxl9s3awf7hz4rr Endpoint(s): GET /v1/artists/{id} Scope(s): Not required as per the dev doc. Steps to reproduce: Authenticate user -…
3
votes
1 answer

Spotify Auth Library returning Type.EMPTY on login

I followed everything in the android authentication guide and the quick start guide. I did as the guide told me to generate a SHA1 and adding it to Spotify app dashboard, and I got the app_client and added it to my app as well. Both scenarios still…
3
votes
3 answers

Searching in an artist's tracks - Spotify API

Using the Spotify API, I am trying to search through tracks of an artist. The query I used is working, and looks like: https://api.spotify.com/v1/search?q=track:' + song + '%20artist:' + artist + '&type=track&limit=10 It's working however it's…
senty
  • 12,385
  • 28
  • 130
  • 260
3
votes
2 answers

How do I create, save, and pass a valid SPTSession once I am logged in Spotify?

I'm having trouble with Spotify beta 9. All the tutorials seem phased out regarding saving a SPTSession and updating(refreshing) with the RefreshTokenURL. This is how I'm getting the AuthViewController.... let…
Charles Jr
  • 8,333
  • 15
  • 53
  • 74
1
2 3
13 14