module FbGraph2::Edge::Feed
Public Instance Methods
feed(params = {})
click to toggle source
# File lib/fb_graph2/edge/feed.rb, line 4 def feed(params = {}) posts = self.edge :feed, params posts.collect! do |post| Post.new(post[:id], post).authenticate self.access_token end end
feed!(params = {})
click to toggle source
# File lib/fb_graph2/edge/feed.rb, line 11 def feed!(params = {}) post = self.post params, edge: :feed Post.new(post[:id], params.merge(post)).authenticate self.access_token end