About Me

Hi. I'm John Eckman.

John Eckman

I'm a Sr. Director at Optaros, a professional services firm offering strategy, design, development, and consulting services to enterprises interested in leveraging free and open source software.

More about me

About Open Parenthesis

Contact Me

Optaros

Travel

 

Upcoming Conferences

Web 2.0 Kongress, Hamburg

Web Content 2009

SXSW Interactive, 2009

My Tweets
  • @jennbarnett I've actually seen travelers arguing with security about wanting to bring their sno-globes. They lose, every time. 23 hrs ago
  • or maybe I'm just following too many of thw wrong people - I have not bee cultivating (or weeding) my twitter garden enough . . . 1 day ago
  • feels like it's become just another channel for spam and self-promotion. is it just the arrival of the mainstream? like when aol hit usenet? 1 day ago
  • Twitter's shine is officially gone for me. maybe I'm just tired, or its the global economic collapse, bit I'm finding it hard to tweet. 1 day ago
  • Thinking of writing a song about conference rooms and how much alike they all are. Sort of like "homeward bound" by S&G but not as good 2 days ago
  • More updates...

Posting tweet...

Powered by Twitter Tools.

Optaros Blogs
Affiliations

[FSF Associate Member]

Creative Commons
Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.
August 13, 2008

Updated WordPress Facebook Plugin

Tagged with: , , , , , , , — John @ 7:45 pm

(As of 8/20 - updated again, to 0.7.5).

WPBook, the WordPress for Facebook plugin which Dave Lester and others at Scholarpress originally created and which I’ve contributed some to, has been updated again.

Version 0.7.4, which I just tagged in subversion (so it should be showing up in the Wordpress plugins directory by the time I post this) includes the following:

  • Works with WordPress installs in subdirectories, using ABSPATH to ensure the right includes get called
  • Fixed for the “new Facebook” javascript but remains compatible with “old Facebook” javascript as well (as described here)
  • Removed hard coded reference to MyAvatarsNew(); and downgraded to WordPress standard avatars
  • Fixed the (previously hard coded) offset for permalinks to be dynamic based on blog’s home url

All in all, this should be a much more stable version for most folks.

Note: If you use the “upgrade automatically” feature in WordPress, you must remember to copy the wp-facebook folder from /wp-content/plugins/wpbook/ to /wp-content/themes/ - it must reside at /wp-content/themes/wp-facebook in order for the plugin to work correctly.

You can get the new version from my plugin page or from the WordPress plugin directory.

May 15, 2008

Wordpress Facebook Plugin wpbook 0.7 available

Tagged with: , , , , , — John @ 2:08 pm

(Update 5/17 - 0.7.1 is now available - bug fix release).

I’ve spent some time over the past few nights revising the wp-book plugin, which lets you bring your WordPress (self-hosted) blog into Facebook as an application, and I’ve published a new 0.7 version.
(more…)

April 22, 2008

WordPress to Facebook and Back Again

Tagged with: , , , , , , — John @ 6:50 pm

I was really intrigued by Dave Lester’s WPBook plugin, which lets you bring posts from your wordpress blog into an application in Facebook.

I really wanted, though, for users to be able to comment on blog posts from inside Facebook, with their Facebook identities, and have it work like the OpenID comment plugin (in the sense that the user should not need to provide any authentication info, but it should be derived from their Facebook login).

I think I’ve finally got it it nailed, at least to the point where folks can start testing it.

If you are a Facebook user, go to this application page: http://apps.facebook.com/openparenthesis/

It will require you to log in (or already be logged in) to Facebook, but you don’t have to add the application to your profile or spam all your friends.

What you’ll see is my five most recent blog posts from this blog, inside a Facebook wrapper. (Can’t include embedded videos, the styles are bit wonked, etc - but it is a start. This is basically just Dave Lester’s plugin).

You should also (this is the new part I’ve hacked in) see the ability to comment on posts - without being asked for a name or url or email address.

Please leave me a comment to test it out. It should, if all works according to plan, pull your Facebook profile pic as your avatar for the comment as well - since your facebook profile page is actually an hCard with appropriate markup (go microformats!).

I believe this will work even for folks who are not “friends” of mine in facebook - but let me know if you run into difficulty.

Once I’ve validated that it works I’ll publish the code. It required me to add at least one file to my theme, and relies on the hAvatar plugin to get the profile pic.

Known Issues:

Sometimes the “autoresize iFrame to content size” bit in Facebook fails, and you end up with a fixed size view into longer content, with no scrollbars. Haven’t figured out what triggers that yet - standard facebook javascript api.

Sometimes you’ll get the “You’re entering comments too fast” error - just wait 30 seconds. Unless lots of people are all trying to do it from facebook at once this should go away. I’ll need to figure out how to unthrottle the comment queue in wordpress for this point.