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
0 Replies

Suggested posts