Skip to content

Latest commit

 

History

History

get_user_profile

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Display your Spotify Profile Data in a Web App

This is the final code for the Spotify Web API - How to Display your Profile Data in a Web . You can run this demo directly or walk through the tutorial.

Pre-requisites

To run this demo you will need:

Usage

Create an app in your Spotify Developer Dashboard, set the redirect URI to http://localhost:5173/callback and http://localhost:5173/callback/ and copy your Client ID.

Clone the repository, ensure that you are in the get_user_profile directory and run:

npm install
npm run dev

Replace the value for clientId in /src/script.ts with your own Client ID.