class FBGraph::Selection

Constants

CONNECTION_TYPES
OBJECTS

Public Instance Methods

me() click to toggle source
# File lib/fbgraph/selection.rb, line 38
def me
  find('me')
end
metadata() click to toggle source
# File lib/fbgraph/selection.rb, line 42
def metadata
  @params.merge!({:metadata => '1'})
  self
end
picture(type='square') click to toggle source
# File lib/fbgraph/selection.rb, line 47
def picture(type='square')
  params = {:type => type}
  params.merge!(:access_token => @client.access_token) unless @client.access_token.blank?
  uri = [@client.facebook_uri , build_open_graph_path(@objects , 'picture' , params)].join('/')
end