Guide for LASTFM
「Paरam」GET LASTFM Details as shown in the below Guide and Fill the necessary details on HEROKU, the vars are given below
LASTFM_USERNAME= Your LASTFM Username (refer image 1-2)
LASTFM_PASSWORD= Your LASTFM Password (refer image 1-2)
LASTFM_API= Your LASTFM API Key (refer image 3-6)
LASTFM_SECRET= Your LASTFM Secret (refer image 3-6)
- Register an account on https://www.last.fm/ and fill the necessary details as shown in the below screenshots
![](/file/a1e570ee1b4fb001d56bf.jpg)
![](/file/149c0271c06f2451d4183.jpg)
- After creating an account, goto your email and verify your LASTFM account by clicking the link sent by LASTFM in your email
- Now go to https://www.last.fm/api and click on Get an API Account
![](/file/483c153846bb25a7b927a.png)
Fill Contact Detail & Application Name
![](/file/aaa03029cfc650258a655.jpg)
and click submit (keeping everything else as it is)
![](/file/825438213a16bd85308c5.png)
Copy API Key and Shared Secret
![](/file/c62ba9dae23625c2c9b95.jpg)
Lastly if you want to connect your last.fm account to Spotify then follow the below steps.
Go to https://www.last.fm/settings/applications and connect to Spotify scrobbling (see below images)
![](/file/fe0e640fe998f2c383749.jpg)
![](/file/dae1bbdc1648b0fb16e97.jpg)