Platinum Partner

Last.fm Favorite Artists For Social Network

// Returns a list of your top 50 favorite artists from last.fm, suitable for pasting into a Facebook, Myspace, or similar profile


#!/usr/bin/env ruby
require 'net/http'
require 'csv'
user = 'nertzy'
csv = Net::HTTP.get 'ws.audioscrobbler.com', "/1.0/user/#{user}/topartists.txt"
puts CSV::Reader.parse(csv).collect{ |row| row[2] }.join(", ")
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}