Questions tagged [spotify]

Spotify is a streaming music service for multiple platforms. This tag covers Spotify's various developer libraries and public APIs, including Web API, mobile SDKs, and Web Playback SDK.

The Spotify Platform allows developers to integrate Spotify in their applications using Spotify's Web API, iOS SDK, Android SDK, and Web Playback SDK. Read more about these and other tools on the Spotify for Developers website.

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 whilst developing for these platforms is not Spotify specific; e.g. a common JavaScript question whilst creating a Spotify Web API Application, or an Android question whilst using the Android SDK. In these cases, you should tag your question with the or tag instead.

Platforms

Web API

The Web API provides developers with an interface to query Spotify's extensive music catalogue through a REST interface, using OAuth 2.0 for authentication.

Useful Resources

Web Playback SDK

The Spotify Web Playback SDK makes it possible to add audio streaming to your website. You can use it in conjunction with the Spotify Web API to build rich applications on top of the Spotify platform.

Useful Resources

iOS SDK

The Spotify iOS SDK makes it easy to add audio streaming, playlist manipulation, metadata lookup and other Spotify features to iOS apps.

Useful Resources

Android SDK

Similarly to the iOS SDK, the Spotify Android SDK enables developers to do things like music playback, playlist manipulation, and metadata lookup.

Useful Resources

libspotify [DEPRECATED]

This C library allows third-party developers to write applications that utilize the Spotify music streaming service. Please note that this library is considered deprecated.

3971 questions
78
votes
10 answers

What language or technology was used to develop the Spotify desktop application?

Does anybody know which language or technology was used to develop the Spotify desktop application? It's stable, good-looking and lightweight.
tom
73
votes
10 answers

Invalid redirect URI on spotify auth

I try to auth user through my app with spotify Web API but I receive this error: INVALID_CLIENT: Invalid redirect URI URL: GET…
realdark
  • 739
  • 1
  • 5
  • 5
46
votes
2 answers

SSL_ERROR_SSL(1): operation failed within the library

I am getting some SSL Errors (which are causing my project to stop/hang with no crash as I have a DispatchGroup waiting for the request), which I don't know how they are caused, what they are, or what to do about it. I have read numerous pages…
George
  • 25,988
  • 10
  • 79
  • 133
36
votes
2 answers

Play full spotify track inside my own website using spotify web api

So I was taking a look at the spotify web api and it apparently allows you to play a preview of the song, but I was wondering if there is any way to play the full spotify song without having to open up the official spotify web player or desktop…
Reed McDonnell
  • 421
  • 1
  • 4
  • 8
35
votes
4 answers

Get current playing song from Spotify iOS app

I'm trying to get info about the current playing song in Spotify iOS app. The scenario is as follows: Open Spotify iOS app, start playing a song. Put the app in background and open my iOS app. Is there any way I could get the song playing on…
buddy
  • 359
  • 3
  • 5
29
votes
5 answers

Hotkey for next song in Spotify

After March 2015 upgrade of Spotify the below hotkey no longer works to get next song in Spotify: ; Spotify next track <^>!p:: DetectHiddenWindows, On ControlSend, ahk_parent, ^{Right}, ahk_class SpotifyMainWindow DetectHiddenWindows, Off Return…
EquipDev
  • 5,573
  • 10
  • 37
  • 63
28
votes
1 answer

Spotify Web API rate limits

The spotify web API documentation mentions rate limits. For example, the authorization guide says this: Only endpoints that do not access user information can be accessed. Its advantage is that a higher rate limit is applied compared with requests…
Larry Person
  • 321
  • 1
  • 5
  • 8
25
votes
3 answers

Encoding Spotify URI to Spotify Codes

Spotify Codes are little barcodes that allow you to share songs, artists, users, playlists, etc. They encode information in the different heights of the "bars". There are 8 discrete heights that the 23 bars can be, which means 8^23 different…
Peter Boone
  • 1,193
  • 1
  • 12
  • 20
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
23
votes
2 answers

How can I play a Spotify audio track with Python?

I would like to know if it's possible to play songs from Spotify with Python (version 2.7 if possible) and how.
NeoMahler
  • 403
  • 1
  • 3
  • 6
22
votes
3 answers

Retrieve cover artwork using Spotify API

There is currently no way to retrieve the cover artwork using Spotify's Web API. Are there plans to implement these or any workarounds?
idleberg
  • 12,634
  • 7
  • 43
  • 70
21
votes
1 answer

Spotify Web API - Authenticate user via native mobile app rather than browser?

I am testing the following example to authenticate a user by logging in and redirecting to the auth screen - http://jsfiddle.net/JMPerez/j1sqq4g0/ This example uses a callback page with the following script: (function() { var hash = {}; …
scopeak
  • 545
  • 1
  • 5
  • 22
21
votes
3 answers

'UTF8' is not a supported encoding name

So I'm just playing around with Spotify's Web API and I'm trying to access my top played tracks. Although I've encountered a problem I've been trying to solve for a couple of hours now but I can't find an answer. When I try to deserialize my…
Fredrik
  • 253
  • 1
  • 3
  • 9
18
votes
2 answers

DNF missing config-manager command

I am attempting to install dnf on my CENTOS 7 machine. Using this as my guideline I ran the first two commands of sudo yum install epel-release sudo yum install dnf and that successfully works. Installed: dnf.noarch 0:0.6.4-2.el7 Now I am trying…
Joey
  • 1,724
  • 3
  • 18
  • 38
18
votes
4 answers

How to Logout user from Spotify after authorization and Web API call is over

Im using Spotify Web API to get list of playlist and track of user. Authorization is working fine. Also i do get track details. But after that I want to logout user from spotify and allow new login . There is a session time till the user auto…
user1099944
1
2 3
99 100