Difference between revisions of "Widget:Facebook Page Plugin"

From No Subject - Encyclopedia of Psychoanalysis
Jump to: navigation, search
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed a '''[https://developers.facebook.com/docs/plugins/page-plugin Facebook Page Plugin]''' (iframe version) on your wiki page...")
 
 
Line 6: Line 6:
 
==Copy to your site==
 
==Copy to your site==
 
To use this widget on your site, just install the [https://www.mediawiki.org/wiki/Extension:Widgets Widgets] extension and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{PAGENAME}}''' article.
 
To use this widget on your site, just install the [https://www.mediawiki.org/wiki/Extension:Widgets Widgets] extension and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{PAGENAME}}''' article.
</noinclude><includeonly><iframe src="//www.facebook.com/plugins/page.php?href=<!--{$profile}-->&amp;tabs=<!--{$tabs}-->&amp;width=<!--{$width|default:340|escape:'urlpathinfo'}-->&amp;height=<!--{$height|default:130|escape:'urlpathinfo'}-->&amp;small_header=<!--{$small_header|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&amp;adapt_container_width=<!--{$adapt_width|default:true|escape:'urlpathinfo'|validate:'boolean'}-->&amp;hide_cover=<!--{$hide_cover|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&amp;show_facepile=<!--{$faces|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&amp;appId" width="<!--{$width|default:340|escape:'urlpathinfo'}-->" height="<!--{$height|default:130|escape:'urlpathinfo'}-->" style="border:none; overflow:hidden;" scrolling="no" allowTransparency="true"></iframe></includeonly>
+
</noinclude><includeonly><iframe src="//www.facebook.com/plugins/page.php?href=<!--{$profile}-->&amp;tabs=<!--{$tabs}-->&amp;width=<!--{$width|default:340|escape:'urlpathinfo'}-->&amp;height=<!--{$height|default:130|escape:'urlpathinfo'}-->&amp;small_header=<!--{$small_header|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&amp;adapt_container_width=<!--{$adapt_width|default:true|escape:'urlpathinfo'|validate:'boolean'}-->&amp;hide_cover=<!--{$hide_cover|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&amp;show_facepile=<!--{$faces|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&amp;appId" width="<!--{$width|default:500|escape:'urlpathinfo'}-->" height="<!--{$height|default:200|escape:'urlpathinfo'}-->" style="border:none; overflow:hidden;" scrolling="no" allowTransparency="true"></iframe></includeonly>

Latest revision as of 14:56, 10 January 2020

This widget allows you to embed a Facebook Page Plugin (iframe version) on your wiki page.

Adapted by Alianin from the Facebook Like Box widget by Chris White.

Copy to your site

To use this widget on your site, just install the Widgets extension and copy the full source code of this page to your wiki as Facebook Page Plugin article.