WPBook 2.1.2 Release

Quick update – just tagged and released WPBook 2.1.2 – should show up in the repository shortly.

Note that if you’ve already made the changes described in upgrading from 2.0.x to 2.1 you do not have to redo them, though you will have to regrant permissions (in order to fix #s 1 and 2 below).

Three significant bug fixes:

  1. Access Token storage. In 2.1 and 2.1.1 I had been storing the access_token Facebook returns after granting permissions in the user_meta table, which worked, but only if you were always publishing in WordPress as the same user who granted permissions. (The same WordPress user_id). Now this gets stored in the options table and works regardless of who is logged in, which makes more sense for the publish action in the first place.
  2. Publish as a page. This required getting the “manage_pages” permission, so you will need to regrant permissions (visit the WPBook options page, click on the “Check Permissions” link inside the Stream/Wall options section, and then click on “regrant permissions” on the resulting page inside Facebook). Basically once you’ve granted “manage_pages” permissions, WPBook looks for the page you’ve identified as a target, and fetches and stores a new access_token that is specific to acting as that page. This access token is then used to publish to the page’s wall, so that they appear to come from the page, not from your FB user id.
  3. Post Thumbnails. This was more badly broken than I thought – not sure how it worked in my testing. (My guess is that FB grabs an image even when you don’t provide one, and may have accidentally grabbed the right one when I test-posted). But it works now, provided you have actually indicated a post-thumbnail (or “featured image” as it is now called in the WordPress admin).

What may still be outstanding is support for WordPress 3.0.1 and potentially other versions between 2.9 and 3.1. Please do open a thread in the forums if you are using an older version of WordPress or having other issues.


  1. Hmm. So it looks like if you publish as a note, you lose the post thumbnail – will need to look into that. Maybe it requires a full img src tag?

  2. No, it isn’t – but if you “like” the post it does much the same thing – Facebook is phasing out the share button in favor of like

Comments are closed.