Facebook like callback function not working in opera-Collection of common programming errors

Do not work callback functions to this button. Opera Dragonfly for facebook shows this error:

Unhandled Error: JSON.parse: Unescaped control char in string: “

in the file http://connect.facebook.net/ru_RU/all.js

Code pages standard:


(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/ru_RU/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

        
            window.fbAsyncInit = function() {
                FB.Event.subscribe('edge.create', function(href, widget) {
                   alert('ok'); 
                });
            }
        
        

Originally posted 2013-11-30 17:54:23.