Module: FbGraph2::Edge::SharedPosts
Instance Method Summary collapse
- #shared_posts(params = {}) ⇒ Object (also: #sharedposts)
Instance Method Details
#shared_posts(params = {}) ⇒ Object Also known as:
4 5 6 7 8 9 |
# File 'lib/fb_graph2/edge/shared_posts.rb', line 4 def shared_posts(params = {}) posts = self.edge :sharedposts, params posts.collect! do |post| Post.new(post[:id], post).authenticate self.access_token end end |