spotify-app

Get play count of a track from Spotify API

别说谁变了你拦得住时间么 提交于 2019-12-05 00:59:14
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. As far as I know there is no way to retrieve that data at the moment. This is not possible through the Spotify API right now. The Last.fm API does offer information similar to this, as a potential work-around. Marked as not right now on the Spotify support site. http://community.spotify.com/t5/Spotify-Ideas/Personal-play-count-for-songs/idi-p/506618 However, this article from 538 a journalist got a look at Nestify where that

Spotify API Create Temp Playlist Not Loading

大兔子大兔子 提交于 2019-12-04 13:16:21
I'm making a little app that displays a list of the top first song of an artist's related artists. When I try and load my app for the first time, it shows nothing. But, when I "Reload Application" everything seems to work. When I constantly start "Reloading" it keeps adding more of the same tracks to the list as well. How do I stop it from continually appending more tracks to the list as well as tighten up the code so that it works on load? require([ '$api/models', '$views/list#List', '$api/toplists#Toplist' ], function(models, List, Toplist){ 'use strict'; // Build playlist function buildList

Spotify app - allowed to save user settings by username?

无人久伴 提交于 2019-12-02 18:41:53
问题 I have a Spotify app and want to persist basic settings per user between sessions. I see the User object has a username field, so it would be easy to do this using my own backend. My question is, is this allowed, without requiring the user to log in, agree to some TOS, etc? Every app I see that persists any data requires me to log in with Facebook. 回答1: Usernames are typically obfuscated out in the Spotify API, so they're not the best thing to use. However, the anonymous ID for the user is

Spotify app - allowed to save user settings by username?

↘锁芯ラ 提交于 2019-12-02 10:28:05
I have a Spotify app and want to persist basic settings per user between sessions. I see the User object has a username field, so it would be easy to do this using my own backend. My question is, is this allowed, without requiring the user to log in, agree to some TOS, etc? Every app I see that persists any data requires me to log in with Facebook. Usernames are typically obfuscated out in the Spotify API, so they're not the best thing to use. However, the anonymous ID for the user is the same for a given user/app ID combo across multiple machines, so you could use that instead. This sort of

How to get info of what user listens currently in Spotify app [closed]

青春壹個敷衍的年華 提交于 2019-12-02 09:43:58
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 11 months ago . Can an Android app (runs on background and uses Spotify SDK) get info of which track the user listens currently at exact time in Spotify Android app? 回答1: I think you'd be interested in the Android Media Notifications. If you are developing an Android application and want to

How to get info of what user listens currently in Spotify app [closed]

☆樱花仙子☆ 提交于 2019-12-02 06:25:46
Can an Android app (runs on background and uses Spotify SDK) get info of which track the user listens currently at exact time in Spotify Android app? I think you'd be interested in the Android Media Notifications . If you are developing an Android application and want to know what is happening in the Spotify app, you can subscribe to broadcast notifications from it. 来源: https://stackoverflow.com/questions/26301113/how-to-get-info-of-what-user-listens-currently-in-spotify-app

Spotify Auth + Angular + Client Credential Flow

瘦欲@ 提交于 2019-11-28 10:38:17
问题 Using these information https://developer.spotify.com/web-api/authorization-guide I am trying to implement the 'Client Credentials Flow' to automate the authentication process. But somehow I got the error below. XMLHttpRequest cannot load https://accounts.spotify.com/api/token?grant_type=client_credentials. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'websiteURL' is therefore not allowed access. $http.get('https://accounts.spotify.com/api/token?grant