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

Use Refresh Token on Client-Side Website hosted by Github Pages

Use Refresh Token on Client-Side Website hosted by Github Pages

Hi! 

I'm new to using the spotify API. I created a javascript function that would display my most recently played songs. However, after 1 hour the OAuth Token would expire. I read that refresh tokens are supposed to stop this from occurring, but I'm not sure how I would implement this on my website. It's being hosted on github pages so everything must be completed client-side. Is it possible to do this, or do I need to use something like heroku? It's only my personal spotify that'll be using this program. Thank you so much!

Reply
0 Replies

Suggested posts