Coder Social home page Coder Social logo

alecchendev / spotify-refresh-token Goto Github PK

View Code? Open in Web Editor NEW
141.0 5.0 17.0 982 KB

A simple site for developers to easily get their own refresh token for Spotify's API.

Home Page: https://alecchendev.github.io/spotify-refresh-token/

JavaScript 93.49% HTML 4.28% CSS 2.23%
react spotify spotify-api tailwind

spotify-refresh-token's Introduction

spotify-refresh-token

A simple site for developers to easily get their own refresh token for Spotify's API.

How to run

Clone the repo

yarn

yarn run dev

โญ Please give this repo a star/share if it helps you at all!

Motive

I was adding this page to my personal website that calls the Spotify API and just shows a brief listening history for my account.

Personal site example

However, to retrieve this information from the Spotify API, it requires you to log in. I didn't want all this overhead to just show my recent songs, so I ended up setting up the authorization in this example repo and going through all this trouble to get a refresh token, which allows you to get access tokens without logging in. I wished I could've easily used a site like this one I've built, where you can just put in your credentials and get your refresh token. So I built it.

How to deploy to GH pages

change the homepage to your github pages url in package.json

change the 'base' in vite.config.js to your github repo name

yarn run gh-pages-deploy

spotify-refresh-token's People

Contributors

acorn221 avatar alecchendev avatar fariasmateuss avatar reubenfrankel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

spotify-refresh-token's Issues

What Client Id + Secret?

help im lost

Edit:
ok i actually found them but now it says:

INVALID_CLIENT: Invalid redirect URI

Refresh token is invalid

I've tried using this to get my spotify refresh token, but my project says the refresh token is invalid. I'm doing it all the correct way...?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.