Difference between revisions of "Widget:Facebook Comments"

From eagle-rock.org
m (Reverted edits by John (talk) to last revision by Charles)
Line 14: Line 14:
 
   if (d.getElementById(id)) return;
 
   if (d.getElementById(id)) return;
 
   js = d.createElement(s); js.id = id;
 
   js = d.createElement(s); js.id = id;
   js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={379590136093855}";
+
   js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=<!--{$appID|escape:'urlpathinfo'}-->";
 
   fjs.parentNode.insertBefore(js, fjs);
 
   fjs.parentNode.insertBefore(js, fjs);
 
}(document, 'script', 'facebook-jssdk'));</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>
 
}(document, 'script', 'facebook-jssdk'));</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 11:16, 11 August 2019

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

Created by Sergey Chernyshev

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:Facebook Comments article.