# File lib/flickr/tags.rb, line 23 def getListUserPopular(user,count = nil) user = user.nsid if user.class == Flickr::Person args = { 'user_id' => user } args['count'] = count if count res = @flickr.call_method('flickr.tags.getListUserPopular',args) tags = {} res.elements['/who/tags'].each_element do |tag| att = tag.attributes tags[tag.text]=att['count'].to_i end return tags end