" So the vision of Microsoft is pretty simple. It changed a couple years ago. For the first 25 years of the company, it was a personal computer on every desk and in every home. And it was a very good vision; very rare for a company to be able to stick with something like that for 25 years. The reason we changed it was simply that it became acceptable... And so as we stepped back and looked at what we were trying to do with the programming model, turning the Internet into the fabric for distributed computing, getting your information to replicate in a very invisible way so that it was available to you everywhere, thinking of this programming model spanning all the different devices, we changed to the mission statement we have now, which is empowering people through great software anytime, any place and on any device. "  —  Bill Gates (American Entrepreneur and Founder of Microsoft Co., b.1955)
 

Publishing Self-Hosted Wordpress Powered Blog in Facebook

more...

When I’m looking for (another) Wordpress SPAM protection plugin, I accidentally found an interesting plugin that utilizes Facebook API. This plugin named Wordbook. Developed by Robert Tsai.

From the Wordbook plugin’s Wordpress page:

This plugin allows you to cross-post your blog posts to your Facebook Wall. Your Facebook “Boxes” tab will show your most recent blog posts. This plugin is somewhat similar as importing blog posts into Facebook Notes, but this plugin uses Facebook API to actively update your Facebook Wall as if you had posted an update for Yourself than imports and caches the blog posts. In other words, you can make changes to your blog postings after publishing it.

The blog posted with Wordbook will have their own space in Facebook profile instead of used up spaceĀ  with other Facebook Notes and a Wordpress logo will show next to it. Wordbook links everything back to your Wordpress powered blog, so the comments in your blog will stay intact. The comments on Facebook Notes will not show up on your Wordpress blog.

You can grab this cool plugin to enhance your Facebook and your Wordpress blog here.

Notes:

I tested this plugin on my self-hosted Wordpress powered website and not on the Wordpress.com website, my webhosting services which I hosted my Wordpress powered blo doesn’t support for direct remote url open using PHP fopen() function. So, it does fail to publish my newly published blog post to Facebook.

Error generated while publishing/saving:

Warning:  fopen(http://api.new.facebook.com/restserver.php) [function.fopen]:
failed to open stream: HTTP request failed!
in /home/sites/aryo.info/www/wp-content/plugins/wordbook/facebook-platform/php/facebookapi_php5_restlib.php on line 1992

Well, I guess I am just looking for another solution for this, since I’m not in the mood in breaking up the Wordbook plugin’s code or modifying my hosting webserver configuration.

Does anyone have?

Well, after spending one night sleeping, I’m really curious about this one. By following the error message that thrown by PHP , I had fixed the problem and make it work. You can read how I can solve this problem and test it here.

2
Share up your minds and leave a comment
  1. [...] now I think the Wordbook plugin is working correctly. On my previous post about this plugin, I mention that it was failing because of PHP’s fopen() function [...]

  2. nice

Comment Form
XHTML Expert!
You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

* = required fields