Skip to content

Getting the Wordbook box on your Facebook profile

Update: the fix below has been incorporated into Wordbook 0.14.5, so upgrading to that version should fix it.

Wordbook is a plugin for WordPress and Facebook that automatically publishes links to your blog posts on Facebook. This worked great, until one of the Facebook updates broke the ability to have a little box with your most recent posts on your profile page. Instead, it showed the message:

No content to display.

This box will not be visible to people who view your profile until this application adds content to it

I’m glad to share a quick fix I found for this. The problem is due to the fact that the Facebook API now requires content for boxes to be specified separately for boxes on the profile page. My fix is simply to copy the content specified for the box to the profile.

First of all, I’ve tested this with WordPress 2.7.1 and Wordbook 0.14.4. All the usual disclaimers apply. If Facebook explodes it’s not my fault.

Open the following file: (you cannot do this from WordPress, you have to go to there through the filesystem)

wp-content/plugins/wordbook/wordbook_php5.php

And go to line 10. That should look like this:

$result = $fbclient->profile_setFBML(null, null, $text);

Change this into:

$result = $fbclient->profile_setFBML(null, null, $text, null, null, $text);

And that’s it! After this, I created and deleted a test post, to force the Facebook entry to update.

  • Reddit
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Digg
  • LinkedIn
  • StumbleUpon

2 Comments

  1. Thanks! I’ve incorporated this into Wordbook 0.14.5.

    Posted on 14-Mar-09 at 06:49 | Permalink
  2. Patrick

    No problem, thanks for the great plugin!

    Posted on 14-Mar-09 at 10:39 | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*