   initClick: ->
     @$selector.on 'click', (e) =>
       e.preventDefault()
-      summary = encodeURIComponent $("meta[property='og:description']").attr("content")
-      image = encodeURIComponent $("meta[property='og:image']").attr("content")
-      title = encodeURIComponent document.title
+      summary = @settings.description ? encodeURIComponent($("meta[property='og:description']").attr("content"))
+      image = @settings.image ? encodeURIComponent($("meta[property='og:image']").attr("content"))
+      title = @settings.title ? encodeURIComponent(document.title)
       params = "s=100&p[url]=#{@url}&p[title]=#{title}&p[summary]=#{summary}&p[images][0]=#{image}"
       open "http://www.facebook.com/sharer.php?m2w&#{params}", "_blank", "scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=440, toolbar=0, status=0"
 

    super $container, settings, @type

  getCount: ->
    window.ODKL ||= {}
    window.ODKL.updateCount = (idx, number) =>
      @$selectorGlobal.parent().find('span').text number

    $.ajax
      url: "http://ok.ru/dk?st.cmd=extLike&uid=odklcnt0&ref=#{@url}"

  initClick: ->
    @$selector.on 'click', (e) =>
      e.preventDefault()
      title = @settings.title ? encodeURIComponent(document.title)
      open "https://twitter.com/intent/tweet?text=#{title}&url=#{@url}", "_blank", "scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=440, toolbar=0, status=0"

class App.SocialFb extends App.SocialBase
