# File 'lib/fb_graph/connections/photos.rb', line 13defphoto!(options={})photo=post(options.merge(:connection=>:photos))Photo.new(photo.delete(:id),options.merge(photo).merge(:access_token=>options[:access_token]||self.access_token))end
#photos(options = {}) ⇒ Object
4
5
6
7
8
9
10
11
# File 'lib/fb_graph/connections/photos.rb', line 4defphotos(options={})photos=self.connection(:photos,options)photos.map!do|photo|Photo.new(photo.delete(:id),photo.merge(:access_token=>options[:access_token]||self.access_token))endend