Wcuriouss's profile picture

Published by

published
updated

Category: SpaceHey

How to make a recent tracks played widget

How to make a recent tracks played widget :D


STEP 1: Create an account on www.last.fm

STEP 2: Download the Web Scrobbler extension on the Chrome Web Store (or any web store)

  • https://chromewebstore.google.com/detail/web-scrobbler/hhinaapppaileiechjoiifaancjggfjm

STEP 3: Sign in to Web Scrobbler using the account you made(open the extension's options in the account option tab. You can check the supported websites in the connectors option tab)

STEP 4: Now Web Scrobbler will record your tracks

STEP 5: Add the code in your HTML 


    <div class="image-container">

        <img src="https://lastfm-recently-played.vercel.app/api?user=(your username)&nocache=1&time=1716829422" alt="My recent tracks"/>

        <div class="overlay"></div>

    </div>

 



4 Kudos

Comments

Displaying 0 of 0 comments ( View all | Add Comment )