Method: Facebooker::User#add_comment
- Defined in:
- lib/facebooker/models/user.rb
#add_comment(xid, text, title = nil, url = nil, publish_to_stream = false) ⇒ Object
Publish a comment to a specific comment set by xid
See: wiki.developers.facebook.com/index.php/Comments.add
xid the xid for the set of comments text the text of the comment
196 197 198 |
# File 'lib/facebooker/models/user.rb', line 196 def add_comment(xid, text,title=nil,url=nil,publish_to_stream=false) @session.post('facebook.comments.add',{:xid=>xid,:text=>text,:title=>title,:url=>url,:publish_to_stream=>publish_to_stream}) end |