It's better when it's simple

User Tools

Site Tools


facebook Plugin

Compatible with DokuWiki

  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes

plugin Add Facebook Fan Boxes to your DokuWiki pages

Last updated on
Syntax, Action

Similar to facebooklike, fbcomments, fbsp

Tagged with facebook, social

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Syntax and Usage

Example Box

To embed a fanbox widget, you need to get it's FacebookID (you'll find it in the fanpage's URL) and call the syntax like this:

{{fbfanbox>52877633616 10f 300x500 status nologo left }}

All parameters except the FacebookID are optional. The following parameters are supported:

Parameter Default Description
<number>f 10f The number of fans to show
<number>x<number> 300×250 The size of the box
status nostatus Show the recent status updates of the page
nologo logo Disable the Facebook logo header
left center right right Choose the alignment of the box

Current Limitations

  • You need to have JavaScript enabled
  • The box doesn't work in the Preview mode for some reason - no idea why


Thanks for your work on this plugin! Unfortunately, it doesn't work for me in Firefox (v3.6). But it does work in IE8. Any suggestions? Thanks. — Rik Blok 2011/03/03 02:27

Maybe you've installed Adblock Plugin for FF?
Whoops! Thanks for the reminder! That was part of the problem (on one of my Firefox accounts) but the Facebook box still only shows intermittently. I've noticed it's intermittent in IE, too. I wonder if it's trying to load too early? Maybe the Facebook-loading code shouldn't run until the page is fully loaded (ie. with a <body onload=...> event? — Rik Blok 2011/03/06 04:22
It gets stranger: after upgrading to Firefox 4 the box still sometimes doesn't display but other times it spontaneously opens in a new tab. Any ideas? — Rik Blok 2011/03/24 00:59
I had better luck just using iframe with the instructions from Blok 2011/03/24 02:19

Does not work with this group: Works fine with the example group.

plugin/facebook.txt · Last modified: 2018-10-07 09:09 by shintak

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki