You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open that application. You will be given 2 things [ Client ID and Client Secret ( click on Show Client Secret to get info ) ]. Note these 2 things somewhere.
Click on Edit Settings and go to Redirect URIs
Add this Redirect URI : http://127.0.0.1/index.html or any url according to you. [ Also note this somewhere ]
Market [ Choose 2 letter code on left side of your country name from url ]
You will be given a link for authorizing. Just paste it in your browser and click on authorize and copy the link that you are redirected to. [ Redirected Link should start with Redirect URI / Redirect URL that you have provided ]
Paste the url in Redirected URL
You have completed Authorization part. Now you can delete authorize js file.
You will notice that a folder named .data has been created. Do not delete this, this contains all your spotify data.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Steps :-
Authorization
Go to Spotify Dashboard and create a new application or use old one.
Open that application. You will be given 2 things [ Client ID and Client Secret ( click on
Show Client Secret
to get info ) ]. Note these 2 things somewhere.Click on Edit Settings and go to Redirect URIs
Add this Redirect URI :
http://127.0.0.1/index.html
or any url according to you. [ Also note this somewhere ]Now copy this file and run it
node authorize.js
You will be asked :-
You have completed Authorization part. Now you can delete authorize js file.
You will notice that a folder named
.data
has been created. Do not delete this, this contains all your spotify data.Coding Part
See docs here
Beta Was this translation helpful? Give feedback.
All reactions