lib/snoo/links_comments.rb
def comment text, id
      logged_in?
      post('/api/comment', body: { text: text, thing_id: id, uh: @modhash, api_type: 'json'})
    end
def comment text, id
      logged_in?
      post('/api/comment', body: { text: text, thing_id: id, uh: @modhash, api_type: 'json'})
    end
Posts a comment to the site

 @param text [String] The comment text, formatted as markdown
 @param id [String] The parent object id. Should be a comment or link
 @return (see #clear_sessions)