Method: Facebooker::Session#get_albums

Defined in:
lib/facebooker/session.rb

#get_albums(aids) ⇒ Object



318
319
320
321
322
323
324
# File 'lib/facebooker/session.rb', line 318

def get_albums(aids)
  @albums = post('facebook.photos.getAlbums', :aids => aids) do |response|
    response.map do |hash|        
      Album.from_hash(hash)
    end
  end
end