Help Wizard

Step 1

NEXT STEP

Who Me Too'd this topic

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?

 

 

 

Who Me Too'd this topic