Module: FbGraph::Connections::Likes::Likable
- Included in:
- Album, FbGraph::Checkin, FbGraph::Comment, Link, Note, OpenGraph::Action, Photo, Post, Status, UserAchievement, Video
- Defined in:
- lib/fb_graph/connections/likes.rb
Instance Method Summary collapse
Instance Method Details
#like!(options = {}) ⇒ Object
23 24 25 |
# File 'lib/fb_graph/connections/likes.rb', line 23 def like!( = {}) post(.merge(:connection => :likes)) end |
#unlike!(options = {}) ⇒ Object
27 28 29 |
# File 'lib/fb_graph/connections/likes.rb', line 27 def unlike!( = {}) destroy(.merge(:connection => :likes)) end |