Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

How to reproduce Spotify web app behavior where a Blend's track can have multiple added_by users?

How to reproduce Spotify web app behavior where a Blend's track can have multiple added_by users?

Plan

Free/Premium

Country

ID, but I assume this apply to all countries

My Question or Issue

Inside a Blend playlist with more than 1 users, the Spotify app might display a track with more than one user in the "added by" column.

But when fetching the tracks inside the Blend from the web API, each track only specify one user in the "added_by" field. Specifically, I tried with the "GET:/playlist/{playlist_id}/tracks" and "GET:/playlist/{playlist_id}".

 

 

 

// Sample track from https://api.spotify.com/v1/playlists/37i9dQZF1EJDbpDbJZYcbM/tracks?offset=0&limit=50&market=ID&locale=en-US,en;q=0.5

const trackItem = {
  "added_at": "2022-05-14T07:11:28Z",
  "added_by": {
    "external_urls": {
      "spotify": "https://open.spotify.com/user/12151282839"
    },
    "href": "https://api.spotify.com/v1/users/12151282839",
    "id": "12151282839",
    "type": "user",
    "uri": "spotify:user:12151282839"
  },
  "track": {
    "id": "1uMHCAyGmHqyygoNRuo7MV",
    "name": "edamame (feat. Rich Brian)",
    "track": true,
    "type": "track"
  }
};

 

 

darcien_0-1652520803050.png

 

How do I replicate the behavior of the Spotify app where there can be more than 1 user that add the track to the playlist?

 

 

 

Reply
7 Replies

Hey guys,

I would have an feature request for the WEB API. At the moment the api returns only one out of the X persons in the playlist.
If you want to know what a blend playlist ist read here:
https://newsroom.spotify.com/2022-03-30/discover-and-listen-to-music-with-even-more-friends-and-fami...

A blend  add songs for each user. Sometimes there is a song more parties (users) listen to so its added for alle those parties (which is shown in the mobile apps (i also think its also an the desktop app)). But when you ask trough the WEB API it only listens one of the X parties.

So i would ask if it is possible to add this feature to the WEB API.

Sincerly

FallenArt

 

As far as I'm aware it is still not possible to see all the users associated with a track in a blend playlist. Adding this to the API would be appreciated 🙂
- Jager

Hello,

I'm also looking for this. The Web API should return every users that added a sound to the playlist.

In the meantime, is there any way to bypass this? Is there any way to retrieve a list instead of only one user?

Hello, I am also having this issue. I'm really hoping that "added_by" can give an array of ids, instead of just the first one that shows up on the playlist.

Also experiencing this issue and also hoping that we can receive an array of "added_by" ids. Please update the API.

We do not have any plans of supporting this today, but I have made a note of it and hope we will be able to one day. 

Understood. Thank you for updating and considering this!

Suggested posts