Module: FbGraph::Connections::Tagged

Included in:
Page, User
Defined in:
lib/fb_graph/connections/tagged.rb

Instance Method Summary collapse

Instance Method Details

#tagged(options = {}) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/fb_graph/connections/tagged.rb', line 4

def tagged(options = {})
  posts = self.connection :tagged, options
  posts.map! do |post|
    Post.new post[:id], post.merge(
      :access_token => options[:access_token] || self.access_token
    )
  end
end