Embed your last.fm scrobbles to your page

Hey guys, here is a quick HTML tip to embed your last.fm scrobbles to your profile.


If you want to use one of my custom layouts, CLICK HERE.

<a href="https://www.last.fm/user/YOURUSERNAME"><img src="https://lastfm-recently-played.vercel.app/api?user=YOURUSERNAME" height="auto" width="350px"/></a>



35 Kudos

Comments

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

virgocrush

virgocrush's profile picture

TY


Report Comment

cooper

cooper's profile picture

TYSM OML


Report Comment

robotic

robotic's profile picture

it wont refresh, any ideas?


Report Comment

Daniel

Daniel 's profile picture

Thank you! Last.fm is a page I've used religiously since 2009 and I appreciate this link so I can add it to my profile here!


Report Comment

ClunkyDot

ClunkyDot's profile picture

THIS IS SO COOL! I didnt know it was possible to embed scrobbles :0 I wanted to replace my spotify playlist that was outdated with something that always shows what im listening too and I think that's a great substitute. I love using Last.fm so im so glad im able to code it right onto my page.

I put it on my "music" colomn on my profile, so its not as big, but I think it fits there.


Report Comment



I think putting it in the music section is 100% the right decision. :D

by Mr Relliks; ; Report

scourgu!

scourgu!'s profile picture

mine is not refreshing?


Report Comment



could that be because i use vpn? but it refreshes on the site

by scourgu!; ; Report

same, have u found a solution yet? ive had it on for like a half hour but it hasn't updated since i put it on my profile

by xXt34rsd0ntf411Xx; ; Report

It does work - due to local caching of webpages (The ability to make websites you visit often load faster) images are stored in the cache. This will work fine for other people coming to your profile. They'll see the latest scrobbles etc.

There is a quick way to force your browser to fetch it though. Press CTRL whilst pressing refresh and it clears the cache and pulls the info again.

Its not a perfect solution, but last.fm doesnt have a native embed solution, this is the best I could find.

by Mr Relliks; ; Report

Thank you! as long as it auto updates for other people that view my profile that's great

by xXt34rsd0ntf411Xx; ; Report

tilda

tilda's profile picture

Really cool, appreciate it!


Report Comment