Announcements

Help Wizard

Step 1

NEXT STEP

Looking get my refresh token for a static site

Looking get my refresh token for a static site

I have a website for a wedding. We are looking to have a place for the people viewing the website to submit songs which automatically get added to a playlist (this makes it easier for the people who don't have a Spotify account or don't know how to access a collaborative playlist).

This static site is hosted in GitHub pages so that we can save money on hosting fees. I'm looking to embed the refresh token for a dummy Spotify account (just to search and add songs to this playlist) into the source of the site so that nobody needs to log into their Spotify account which would be very inconvenient.

Is there any way to manually set the refresh token in the spotify-web-api.js?

Reply
2 Replies

Hello brother what you trying na do is impossible. If you make it even possible the credits of the playlist will not be able to fetch until it's dynamic or someone fetch it manually. If wanna still make that playlist features available then you have to use cookies for it better contact me we have already built an thing that would be work full for you 

ooooh bad news this was 4 years ago and i did actually figure out how to do it sooooooooo

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random