Widget:FPP
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:FPP|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
- code
{{#widget:{{PAGENAME}}|profile=https://www.facebook.com/strongholdkingdoms}}
- result
This widget allows you to embed a '''[https://developers.facebook.com/docs/plugins/page-plugin Facebook Page Plugin]''' (iframe version) on your wiki page.
Adapted from the [[Facebook Like Box]] by [[User:Chris White|Chris White]].
To insert this widget, use the following code:
{{#widget:{{PAGENAME}}|profile=https://www.facebook.com/strongholdkingdoms}}; result {{#widget:{{PAGENAME}}|profile=https://www.facebook.com/strongholdkingdoms}} === example 2 === ; code
{{#widget:Facebook Page Plugin|profile=https://www.facebook.com/HeroWarzGlobal|faces=true|small_header=true|height=155}}; result {{#widget:Facebook Page Plugin|profile=https://www.facebook.com/HeroWarzGlobal|faces=true|small_header=true|height=155}} === example 3 === ; code
{{#widget:Facebook Page Plugin|profile=https://www.facebook.com/WildStarOnline|tabs=timeline,messages,events|height=556}}; result {{#widget:Facebook Page Plugin|profile=https://www.facebook.com/WildStarOnline|tabs=timeline,messages,events|height=556}}
example 2
- code
{{#widget:Facebook Page Plugin|profile=https://www.facebook.com/HeroWarzGlobal|faces=true|small_header=true|height=155}}
- result
example 3
- code
{{#widget:Facebook Page Plugin|profile=https://www.facebook.com/WildStarOnline|tabs=timeline,messages,events|height=556}}
- result