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
2
votes
2 answers

How to get Spotify api access token without asking user to login?

Coding in PHP, I try to initialize Spotify API, without using redirect uri, just using client_id and client_secret. I try the code below : Extract token from response url - Spotify API but I get a NULL result I wonder if If I can access token…
Yohann
  • 265
  • 1
  • 8
  • 17
2
votes
1 answer

Is there any way to get an artist's user id with the Spotify API?

One of the cool things about Spotify is the ability to view playlists created by both users and artists. You can get a list of playlists for any user with: https://api.spotify.com/v1/users/{user_id}/playlists This will work if you plug in an…
Tony Paternite
  • 153
  • 1
  • 14
2
votes
1 answer

How to get the spotify id of a specific song with echonest api

I am trying to query echonest with both an Artist name and Song name and have it return the spotify ID of the song. Currently I can only get the artist to be returned. I am reading the documentation but it makes no sense at all I think it might…
FPcond
  • 581
  • 2
  • 7
  • 21
2
votes
1 answer

Can I get data on currently played tracks in a certain area through Spotify API

I've been looking through the API support section of the Spotify website for any way to see what everyone in, for instance, Amsterdam is listening to right now. I did find this web app that appears to do exactly that but it's from Spotify itself and…
FullContactCoder
  • 169
  • 1
  • 2
  • 11
2
votes
3 answers

How to open spotify links in both android and ios device?

I did a Google search for opening spotify URLs/URIs on native app, and found the following URI scheme to open the links in the native app. spotify://spotify:artist:12Chz98pHFMPJEknJQMWvI This above link seems to be working fine on ios devices, but…
user1524625
  • 271
  • 1
  • 7
  • 19
2
votes
1 answer

Spotify v1 dark UI styles

I am migrating an existing spotify app to API v1, which has a lot of implications. Switching most of the backend code was easy, but now I'm working on the frontend. Our app has a dark style, so regarding to the style guide it should have a dark…
21Studios
  • 21
  • 1
2
votes
1 answer

Spotify app - "Save as Playlist" button

I need to add a "Save as Playlist" button to my Spotify app, according to my app feedback from Spotify. I've seen the button in other apps, but as far as I can tell, there is no native implementation of this button - right? SubscribeButton is a…
Rob Lourens
  • 15,081
  • 5
  • 76
  • 91
1
vote
1 answer

Spotify API: Playing a specific part of a song

I'm trying to play a song from a position other than the beginning of the track. I've found that player.position = X will work as a standalone function, such as triggered by a button, but triggering it on player.observe(models.EVENT.CHANGE...…
1
vote
0 answers

Getting songs from spotify api

So I have this code export const load = async ({fetch}) => { // eslint-disable-next-line prefer-const let playlists: Playlist[] = []; const ress = await fetch('api/token'); const access_token = await ress.text(); console.log("The…
Benjamn
  • 11
  • 2
1
vote
0 answers

Unable to login to developer Spotify, and not getting dashboard on it

I have been trying to log in to developer Spotify to create an app using React. But I cannot log in, although I logged in successfully many times it again asks login. And it shows an error pop-up that vanishes in a jiffy. I want to go through the…
1
vote
1 answer

Spotipy (sp.track() specifically) takes too long to run

I am trying to extract the release data, explicit flag and popularity score of approximately 18,000 songs. I want to append these results to my data frame Initially, I tried this. - for i,track in enumerate(df['uri']): …
dsispp
  • 13
  • 2
1
vote
1 answer

{"error":"invalid_client"} client credentials error spotify with express

I am developping an api on spotify. I want to retrieve clients credentials. I set up my app on the dashboard. My client_id and secret are correct. But I have the same error at the end when I try to retrieve this client credential: …
bastpoy
  • 13
  • 2
1
vote
0 answers

Issue with Spotify Iframes in client vs server side instances

I am having an issue with Spotify Iframes displaying tracks in preview mode. According to Spotify for Full Track Playback in Iframes, We have introduced full playback directly inside of the Spotify Play Button. It works on most major browsers,…
1
vote
0 answers

Spotify Android - how to stop app from hijacking headphones controls

I am occasionally using Spotify on my Android phone. But mostly I am listening to stuff on Youtube or Rumble (web version via Brave browser, NOT app), so as not to pay YT for premium but still have playback with screen off. Spotify is also…
AcePL
  • 488
  • 5
  • 18
1
vote
0 answers

Spotify statusCode: 403,reasonPhrase: "Forbidden", User not registered in the Developer Dashboard

i am trying to access user top Spotify artist using api url https://api.spotify.com/v1/me/top/artists?limit=6&offset=5 but it give reponse User not registered in the Developer Dashboard Even i also add user name and email Under Users and Access …
Ashutosh singh
  • 820
  • 6
  • 17
1 2
3
13 14