Widget:Facebook Page Plugin

From Gamepedia Help Wiki
(Redirected from Facebook Page Plugin)
Jump to: navigation, search

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.

Adding this widget

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 Widget:Facebook Page Plugin article.

Using this widget

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

See also

External links