Please consider sharing the widgets you created on this site for others to use.

 Actions

Facebook Page Plugin

From MediaWiki Widgets

Facebook Page Plugin widget
Description:Allows to embed a Facebook Page Box.
Author:Alianin
Provider:Facebook
Code:Widget:Facebook Page Plugin
Status:active
Security:unknown
Inv-Icon tools.svg.png

To copy this widget to your wiki, cut and paste the entire source of the Facebook Page Plugin widget code page into a page called Widget:Facebook Page Plugin on your wiki.

If you don't have the Widget extension set up on your wiki, go to its description page on MediaWiki.org and follow the installation instructions.


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

Adapted from the Facebook Like Box by Chris White.

To insert this widget, use the following code:

{{#widget:Facebook Page Plugin|profile=https://www.facebook.com/strongholdkingdoms}}

Parameters

All parameters are required. Each parameter is separated from the others by a pipe symbol "|" (don't use spaces in the code). If you want to use the default values, then the only required parameter is profile.

  • profile - URL of page on Facebook (e.g. https://www.facebook.com/strongholdkingdoms). This should match the URL shown when the person's profile is on-screen; no other code in the URL should be copied, i.e. "&sk=wall".
  • width - Width in pixels for the box; this should only be a number, no "px". Defaults to 340. Minimum is 180 and maximum is 500.
  • height - Height in pixels for the box; this should only be a number, no "px". Defaults to 130. If faces is set to true, set height to 220 for accurate rendering. If small_header is set to true, set height to 70 for accurate rendering. If faces and small_header are set to true, set height to 155 for accurate rendering. If tabs are set, adjust to the preferred height. Minimum is 70.
  • hide_cover - Hide cover photo in the header. true or false. Defaults to false.
  • faces - Show profile photos when friends like this. true or false. Defaults to false.
  • small_header - Use the small header instead. true or false. Defaults to false.
  • adapt_width - Try to fit inside the container width. true or false. Defaults to false.
  • tabs - Tabs to render i.e. timeline, events, messages. Use a comma-separated list to add multiple tabs, i.e. timeline,events.

Sample results

example 1

example 2

example 3

Comments

blog comments powered by Disqus