A simple scrobbler. Highly customizable CSS. Using CSS3's grid properties.
My Website: BOTDROID.ME
Live Development (constant demo update): https://app.botdroid.me/lastfm/
- Make sure you have a LastFM API account.
- Authenticate your key. Open this link with your API key in it: http://www.last.fm/api/auth/?api_key=xxx - More on this from the Official Doc.
- See if your token is given by Last.FM's server after getting a callback from Step 2. Something like this: https://YOUR.DOMAIN.COM/lastfm/?token=LOOKS_LIKE_API_KEY_BUT_ITS_NOT. If you see that...
- You're now authorized!
There are three files:
- lastfm.css - The styleshet.
- lastfm.config.php - The configuration file.
- index.php - The working file.
- Link to all files in your website where you want it to appear. For example you might put lastfm.css in /css folder so put this between your
<head>
tags<link rel="text/stylesheet" href="https://YOUR.DOMAIN.COM/css/lastfm.css">
. Use PHP's include() to link all php files. - Upload all files according to where you link them (Step #4).
Hi. This is my first public repo. Please teach me :)