This code updates your fxp's profile (picture and bio) by your current song you play on spotify!
- Open terminal and type
git clone https://github.com/avishaiDV/fxp_spotify_profile.git
cd fxp_spotify_profile
- Create a spotify application here.
- Select "Edit settings" and in "Redirect URIs" type:
http://localhost:8888/callback
- Grab your cliend secret + cliend id from "users and access" and open config.js file and edit your info:
export default {
fxp_username: "", // Your fxp username
fxp_password: "", // Your fxp password
spotify_clientId: "", // Spotify cliend id
spotify_clientSecret: "", // Spotify cliend secret
spotify_redirectUri: "http://localhost:8888/callback"
}
npm i
node .
- Login to your spotify on
http://localhost:8888/login
- Start listening to music and have fun! 🎧🎶😃