I've just updated and those buttons are gone. Any ideas how I can have these buttons back?
There is a duplicated question over here but it was closed as off topic.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The version in 12.04 has a plugin to LastFM built in - however as you have found, no longer has the like buttons.
Fortunately, a third-party developer has stepped in to provide this;
called lastfm-extension the plugin:
The homepage has the installation instructions.
As per my answer:
I've packaged this together with other optional plugins in my PPA.