Publishing Self-Hosted Wordpress Powered Blog in Facebook
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.





[...] 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 [...]
nice