Difference between revisions of "Widget:Improved Facebook Comments"

From eagle-rock.org
Line 21: Line 21:
 
       xfbml      : true  // parse XFBML
 
       xfbml      : true  // parse XFBML
 
     });
 
     });
 
 
   };
 
   };
 
 
   (function(d){
 
   (function(d){
 
     var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
 
     var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
Line 30: Line 28:
 
     js.src = "//connect.facebook.net/en_US/all.js";
 
     js.src = "//connect.facebook.net/en_US/all.js";
 
     ref.parentNode.insertBefore(js, ref);
 
     ref.parentNode.insertBefore(js, ref);
   }(document));
+
   }(document));</script><!--{/if}--><div class="fb-comments" data-href="<!--{$url|escape:'html'}-->" data-num-posts="<!--{$num|escape:'html'|default:5}-->" data-width="<!--{$width|escape:'html'|default:470}-->"<!--{if isset($dark)}--> data-colorscheme="dark"<!--{/if}-->></div></includeonly>
 
 
</script><!--{/if}--><div class="fb-comments" data-href="<!--{$url|escape:'html'}-->" data-num-posts="<!--{$num|escape:'html'|default:5}-->" data-width="<!--{$width|escape:'html'|default:470}-->"<!--{if isset($dark)}--> data-colorscheme="dark"<!--{/if}-->></div></includeonly>
 

Revision as of 22:00, 13 June 2012

This widget allows you to add the Improved Facebook Comments widget to your wiki page.

Created by Sergey Chernyshev

Improved by Saill White

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Improved Facebook Comments article.