Spotify is a music streaming service that lets you listen to a wide variety of music from a number of different record labels, including Universal, EMI, and Sony. The free option lets you browse music or search for your favorite artist, album, or playlist. If you upgrade to a premium account by paying a small monthly fee, you will be able to actually download songs to the music player of your choice and avoid ads. There is no contract to sign, either – users are free to cancel at any time they want and go back to the free version. As of January 2015, the service has more than 15 million subscribers.
Share What You Listen To
What does any of this have to do with WordPress? Some people like to share what they are listening to with others. This is very easy to do on social media sites such as Facebook and Twitter, but it is not as easy to do with WordPress. However, there is a Spotify plugin that you can download and install that links your Spotify account with your blog. There is no need to manually type out the song name or artist, nor does this app spam your friends with song updates as it would if it were on Facebook. Instead, it lets you create a constantly updated list of what songs you are listening to, right there in your blog’s sidebar.
Last.fm and Account Creation
Before you can use this plugin however, you will need to go to Last.fm and create an account. This website is a music discovery service that allows you to get personalized recommendations for music based on what you’ve listened to before. The account is free, and you will not get spam email or anything like that.
Once you’ve done this, you will need to go to your Spotify account and log in. Spotify does not have an API in place yet, so you have to go to edit preferences and then check the box for “Scrobble to Last.fm.” Then enter your Last.fm username and password. If you want to stream your Spotify playlist to Facebook, you can set that up here, too, but just be ready for your friends to tell you they do not want your playlist clogging up their newsfeed.
Now you need to head over to your WordPress site and install the Latest Spotify Activity plugin. This plugin is available free from wordpress.org. After installing it, be sure to activate it. Now you can add this widget to your site. Most people put it on the sidebar, but you can add it anywhere you can place a widget.
Decision Time …
Now, go to the plugin and add your username. Decide how many recent songs you want the plugin to show, and click on save. If you go to your blog, you may not see anything under Latest Spotify Activity if you have not used Spotify in a while. If you have used it recently, you should see the last few songs that you listened to. Grab your MP3 player, phone, tablet, or whatever other device you use Spotify on and play a few songs. If everything is working as it should, you’ll see the plugin update the list with those songs.