DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:facebook

facebook plugin

Compatible with DokuWiki

2009-12-25+

plugin Add Facebook Fan Boxes to your DokuWiki pages

Last updated on
2010-02-12
Provides
Syntax, Action
Repository
Source

Similar to facebooklike, fbcomments, fbsp

Tagged with facebook, social

Download and Installation

Download and install the plugin using the Plugin Manager using the URL given above. 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

Discussion

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 BlokRik Blok
rikblok

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 BlokRik Blok
rikblok

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 BlokRik Blok
rikblok

2011/03/24 00:59
I had better luck just using iframe with the instructions from http://developers.facebook.com/docs/reference/plugins/like-box/Rik BlokRik Blok
rikblok

2011/03/24 02:19
plugin/facebook.txt · Last modified: 2013/08/10 23:33 by ach