Monthly archive for March 2010

Sunday Coding – ReTweeter, WPBook

Two quick Sunday updates.

First, ReTweeter has been updated to 0.9.4. The fix here was primarily to deal with tweets which, when retweeted with the username prepended, were longer than 140 characters.

Second, WPBook has been updated to 1.5.3. This includes a new option to enable publishing to the wall of a Fan Page independent of publishing to the author’s personal wall. (1.5, 1.5.1, and 1.5.2 all could publish to Fan Page walls, but also published to the author’s wall, which in many cases results in duplication for many of your friends and fans.)

Also in 1.5.3 is some improved error checking (fixed the “activation on PHP 4 hosts” bug and added more Try/Catch pairs around Facebook client calls) and the ability to support old school permalink urls with query string parameters.

Good to be home on the weekend . . .

WPBook 1.5.2 released

I’ve just tagged and released version 1.5.2 of WPBook, which should be available for download by the time you read this.

In this version:

  • Plugin now checks for PHP 5 at activation, will not allow activation under PHP4
  • Checks for zero pages of which user is admin (avoid edge case exception)
  • Added link to installation instructions to permissions page
  • Added offline-access permission request (some users had not yet granted this permission)
  • Added “show errors” mode, which when enabled traps exceptions thrown by the Facebook client and shows them to the user

Not really a required upgrade, but it should help folks having trouble, and won’t cause trouble for others.

I will also now close comments on the existing 1.5 release blog post, as it is now out of date.

In general, I’d prefer not to use comments for troubleshooting anyway – please use the support forums for those kinds of items instead.

Thanks

WPBook 1.5 Released – Let the Streaming begin!

WPBook

So for a while I’ve been working on and beta testing the next version of WPBook. Tonight I’ve just tagged it for release, so it will be available for download shortly. (I’ve already been running it here for a while and testing it on a few other test blogs).

The main improvement in WPBook 1.5 is that it now knows how to use stream.publish, meaning that it will automatically post to your wall in Facebook when you publish a post in WordPress. Your friends should see that notification as well in their streams. (We’re not, however, sending application updates or tracking all users’ user id’s – instead you enter your own userid into the settings and it uses that to post to your wall). Included are attachments (first image attached to the post is used) and excerpts (if you hand craft excerpts they will be used in the wall post).

The other main improvement is that WPBook now requires PHP5, and as such can wrap Facebook calls in Try/Catch blocks. For the non-programmer, this means those awful, dramatic “fatal uncaught exception” error screens are gone. WPBook isn’t doing anything terribly meaningful with those errors yet – still working on that- but at least it traps them.

Read more…

CMS Debate from North Shore Web Geeks

A few weeks back I was part of a panel at North Shore Web Geeks which they titled The Great CMS Debate.

John Eckman, Jay Batson, Marc Amos, and Tom Herer. Photo (c) Trev Stair

Unfortunately Jake Goldman was ill and couldn’t make it, so Christine Greene agreed to step in and moderate in my place, while I represented WordPress in Jake’s. (See also Trev’s iPhone sketches of myself, Jay and Marc – he was unable to get Tom).

It was a fun night – I’m not sure I represented WordPress as well as I might have with a bit more prep. (On the security question in particular, see Brad Williams’ presentation from WordCamp Boston.)


Read more…