Module: FbGraph2::Edge::Posts

Included in:
Page, User
Defined in:
lib/fb_graph2/edge/posts.rb

Instance Method Summary collapse

Instance Method Details

#posts(params = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph2/edge/posts.rb', line 4

def posts(params = {})
  posts = self.edge :posts, params
  posts.collect! do |post|
    Post.new(post[:id], post).authenticate self.access_token
  end
end