spotify

Using Open Graph API, can I see when users Add To Playlist or Star tracks in Spotify?

可紊 提交于 2019-12-17 15:45:15
问题 How would I access when a user (and a friend of a user) adds a song to a playlist, or stars a song in Spotify, Rdio etc? 回答1: http://graph.facebook.com/me/music.listens http://graph.facebook.com/me/music.playlists You have to get the user_actions.music permission before you can read those. 回答2: The correct permissions is user_actions:music, not a dot. user_actions:music user_actions:video user_actions:news http://graph.facebook.com/me/music.listens http://graph.facebook.com/me/music.playlists

Retrieve cover artwork using Spotify API

二次信任 提交于 2019-12-17 08:33:05
问题 There is currently no way to retrieve the cover artwork using Spotify's Web API. Are there plans to implement these or any workarounds? 回答1: June 17th 2014: Today Spotify released a new Web API. It is now easy to retrieve cover artwork, as all endpoints includes an array of images for every item . Search example: curl -X GET "https://api.spotify.com/v1/search?q=tania%20bowra&type=artist" { "artists" : { ... "items" : [ { ... "images" : [ { "height" : 640, "url" : "https://d3rt1990lpmkn

Retrieve cover artwork using Spotify API

ぐ巨炮叔叔 提交于 2019-12-17 08:32:27
问题 There is currently no way to retrieve the cover artwork using Spotify's Web API. Are there plans to implement these or any workarounds? 回答1: June 17th 2014: Today Spotify released a new Web API. It is now easy to retrieve cover artwork, as all endpoints includes an array of images for every item . Search example: curl -X GET "https://api.spotify.com/v1/search?q=tania%20bowra&type=artist" { "artists" : { ... "items" : [ { ... "images" : [ { "height" : 640, "url" : "https://d3rt1990lpmkn

Open native Spotify app from mobile browser

。_饼干妹妹 提交于 2019-12-14 04:03:35
问题 Is it possible to click a link to a users profile in a mobile web browser on Android/iOS and have the Spotify native app open. 回答1: Ok, after some investigation, to open the native Spotify app on either mobile or desktop just replace the URL: https://play.spotify.com/user/user_Id/playlist/playlist_Id with the URI: spotify:user:user_Id:playlist:playlist_Id I have only tested this on Chrome and Android. But I think it should work on iOS as well. 回答2: This happens autonomously, provided the user

Custom Web Player for Spotify

浪尽此生 提交于 2019-12-14 01:31:25
问题 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 seen, however, this example 1) http://static.echonest.com/enspex/web/ChillRadio/ this one 2) http://lab.possan.se/thirtify/ and this one 3) https://developer.spotify.com/web-api/code-examples/ (see "Play something" snippet) that seems to use a

Accessing Spotify API for Multiple Artists in R

独自空忆成欢 提交于 2019-12-14 00:25:38
问题 I have created a Client ID and Secret Key in Spotify's developer app section. I am referencing this document and want to extend this by choosing multiple artists. https://www.r-bloggers.com/the-eurovision-2016-song-contest-in-an-r-shiny-app/ In this example, they are only choosing 1 artist ID but there are some holes to this, 1) How do you obtain the artist name rather than the artist ID because I can't find a glossary key anywhere for the artist ID? 2) How do you choose multiple artists

Is there a way to play audio on a mobile browser with only a src url?

我的未来我决定 提交于 2019-12-13 14:21:21
问题 Using the spotify API I'm able to retrieve and play various songs after creating an audio element with the appropriate src. '<audio preload="auto" src="https://p.scdn.co/mp3-preview/43e7efa8214783c2af2cb32edbb94b7c836fc4b2?cid=null"></audio>' http://codepen.io/niko8888/pen/jyyKLZ var fetchTracks = function (albumId, callback) { $.ajax({ url: 'https://api.spotify.com/v1/albums/' + albumId, success: function (response) { console.log(response) callback(response); } }); }; The problem is that it

Monitoring Spotify track change in Applescript?

时间秒杀一切 提交于 2019-12-13 13:06:52
问题 I'm trying to figure out the best way via Spotify's Applescript library to detect a track change. So far, I've tried checking player position -- if it equals 0 it is a new track and the Growl notification appears again. (This didn't work mostly if someone started a song over, etc.) I'm wondering if the more plausible method is having an idle iTunes script running and checking the current track name for change every couple seconds. I'm worried this might be a bit of a hog memory-wise. I can't

Twitter ouath callback in Spotify Apps

女生的网名这么多〃 提交于 2019-12-13 08:19:54
问题 How can I set a twitter callback, it doesn't support sp:// my code is auth.showAuthenticationDialog('https://api.twitter.com/oauth/authorize?oauth_token=' + result.oauth_token, 'sp://geoholium',{ onSuccess: function(response) { authenticated = true; access_token = response.split('=')[1]; }, onFailure: function(error) { }, onComplete: function() { } }); 回答1: auth.showAuthenticationDialog works by watching for requests to the URL given in the second parameter, then intercepting them and passing

Install spotify-client on Ubuntu using puppet via Apt module

柔情痞子 提交于 2019-12-13 06:47:54
问题 What puppet code do I need to install the spotify-client on Ubuntu using puppet's Apt module? The spotify installation instructions are: Add the Spotify repository signing key to be able to verify downloaded packages sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 Add the Spotify repository echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list Update list of available packages sudo