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

Past snapshot_id for shared playlist?

Past snapshot_id for shared playlist?

Some context: At the beginning of this year, I started a weekly tradition where friends and I add one song to a shared playlist that we think the group should hear. At the end of the week, I move the songs to a different playlist to archive them, and remove the songs in the shared playlist. Then each person adds a new song for the week to the original shared playlist.

 

It's been a great way to share music with each other!

 

I recently got the idea to run some analytics on the shared playlist at the user level (e.g., this person never missed a week, this person added the most punk genre songs, this person added the longest song, etc).

 

From a development perspective, the first challenge seems to be finding each week's version of the shared playlist. I've been reviewing the Spotify API documentation, and the snapshot_id variable seems like a good start, but is there any way to pull past snapshot IDs from a playlist?

 

Thank you for reading this far! I have minimal developer experience, but this seemed like a fun project to take on! Very thankful for any and all guidance on the best way to build this.

Reply
2 Replies

Ever figure this out? I'm in the same boat and would like to know if this is possible!

I ended up using a workaround! I had previously used IFTTT to add songs added to the playlist to a Google Sheet, along with other data from Spotify (track ID, artist name, album, etc). IFTTT also added the current playlist name to each song entry. I updated the playlist name manually each week within the Spotify UI, so it was easy to see each weekly iteration of the playlist in Google Sheets. Below is a screenshot showing how it looks in Google Sheets: 

 

tycoonwiz_0-1732565509820.png

 

I was then able to run my analytics within Google Sheets. I hosted a Discover Friends Unwrapped livestream on Twitch to present the data back to my friends–it was super fun! Happy to send you the recording of that in a DM if you'd like to see it. 

 

Would love to learn more about what you're working on, and if you ever found a solution!

Suggested posts