This plugin allows you to cross-post to your Facebook account directly from your WordPress blog:
![[screenshot]](http://wordpress.org/extend/plugins/wordbook/screenshot-1.png)
The Facebook app that this plugin works with will display a mini-version of your blog’s first page (a list of the most recent blog posts):
![[screenshot]](http://wordpress.org/extend/plugins/wordbook/screenshot-2.png)
Requirements:
- A Facebook profile :).
- Privileges to install WordPress plugins on your blog. In particular, this means that wordpress.com bloggers are left out. Sorry :(. Bloggers using wordpress.com should check out the WordPress Facebook app.
Installation instructions are at wordpress.org.
For problem reports or feature requests, please first check the FAQ or Other Notes, then use the Wordbook Discussion Board.
To be notified of updates (this plugin is still rather young), monitor the Wordbook Discussion Board.
#1 by alex on Sun Jul 29, 2007 - 7:06 pm
Cool idea…
#2 by Velanche on Mon Jul 30, 2007 - 12:46 pm
Me likes…look forward to more news on this useful plugin. Thanks!
#3 by Chigüire on Tue Jul 31, 2007 - 7:21 am
I’m planning to install this… so I sell my soul (and e-mail) to be notified of changes :-)
#4 by Chigüire on Tue Jul 31, 2007 - 8:00 am
Hello,
I installed the plugin, generated the one-time key and added the application to my Facebook profile, but I cannot see the WordPress block anywhere in it. Do I have to wait a bit to appear? Did I miss something?
Thanks for your help.
#5 by yibble on Tue Jul 31, 2007 - 7:37 am
Nice idea, now I can finally begin to ditch Twitter.
#6 by Rob on Tue Jul 31, 2007 - 9:06 am
I don’t think you’re missing anything. If you click on “Applications” in your profile, Wordbook should show up. I think it might be “hidden” because Facebook hasn’t accepted the app yet (Wordbook isn’t yet in the Facebook app directory). I am guessing it will show up when/if Wordbook gets accepted.
#7 by Dave on Tue Jul 31, 2007 - 4:12 pm
Great plugin!!
When I try to clear errors on the admin page I get errors.
Warning: main(/path/to/wordpress/plugins/) [function.main]: failed to open stream: No such device in /path/to/wordpress/wp-admin/admin.php on line 65
Warning: main(/path/to/wordpress/plugins/) [function.main]: failed to open stream: No such device in /path/to/wordpress/wp-admin/admin.php on line 65
Warning: main() [function.include]: Failed opening ‘/path/to/wordpress/plugins/’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /path/to/wordpress/wp-admin/admin.php on line 65
Any thoughts?
#8 by Rob on Tue Jul 31, 2007 - 10:31 pm
Version 0.5.3 is available. Changes from 0.5.2: activation of the Wordbook plugin will add a link to your blog in your Facebook profile’s “Wordbook” box. After that, the “Wordbook” box will be filled with the title of your most recent blog post.
Version 0.5.2 is available. Changes from 0.5.1: from the WordPress admin panel, URLs to facebook.com will be launched in a new browser window.
#9 by Bob Jordan on Wed Aug 1, 2007 - 9:15 am
Interesting idea. Keep me posted
#10 by karen on Wed Aug 1, 2007 - 1:08 pm
very neat idea, i like it a lot. thank you =)
#11 by Hamzah on Wed Aug 1, 2007 - 3:47 pm
Hi,
Is it just me or is the download link dead? :S
#12 by NetChick on Wed Aug 1, 2007 - 4:17 pm
Hmm… Download not working.
#13 by Glenn on Wed Aug 1, 2007 - 4:45 pm
Great idea for a plugin. Very useful!
Just curious though: I keep getting error code 343, “Feed story title is too long” under Plugins–>FacePress… what is the Facebook title limit?
#14 by Glenn on Wed Aug 1, 2007 - 4:56 pm
Yeah, somethings wrong? Got the title down to 4 chars – same error. I’m using facePress 0.4.1 so perhaps you have already fixed this in the new wordbook? (the download link appears to be broken though ;-)
#15 by Bryan Bartow on Wed Aug 1, 2007 - 9:01 pm
Download link is busted.
#16 by Gautham Gauruv Maediratta on Thu Aug 2, 2007 - 1:16 am
Hi,
The download link is broken….can anyone send me the plugin on gautham (@) maediratta dot com
Thanks!
#17 by Tracey on Thu Aug 2, 2007 - 4:39 am
Would try this app if I could actually download it.
#18 by Chigüire on Thu Aug 2, 2007 - 7:15 am
Rob,
Version 0.5.1 is definitely not showing the newest posts in the mini-feed or anywhere else. I’ll upgrade anytime today, but it’s still strange. I’m switching back to importing notes meanwhile.
#19 by Rob on Thu Aug 2, 2007 - 9:19 am
Version 0.5.5 is out, and the download link is fixed.
Long post titles are now truncated with “…” if necessary.
The blog name is now not included in the Mini-Feed title (to favor the post title, since that will have a link to your blog anyway).
Each post will now update the “Wordbook” block in your profile with your blog name and latest post title.
#20 by Dan on Fri Aug 3, 2007 - 4:21 am
Thank you so much Rob! I’ve been looking for something that does exactly this… you rock.
#21 by Hamzah on Fri Aug 3, 2007 - 4:40 am
yay the link works now.
I’ve been looking for something like this, i even tried making something like it myself, but failed very badly ^^.
Thanks :D.
#22 by Chigüire on Fri Aug 3, 2007 - 12:46 pm
Hello Rob,
I’ve upgraded the version to 0.5.5, and tried to re-add the application in Facebook and re-install the plug-in, but I still don’t see the posts published. I usually timestamp my entries, rather than publishing anything at once.
Could you assist me in this? Thanks!
#23 by Rob on Fri Aug 3, 2007 - 1:06 pm
If you mean you are post-dating your entries (giving everything a date in the future), then I will have to investigate it. It wouldn’t surprise me if that wasn’t working, because I haven’t planned for that use case.
#24 by Tyler on Sat Aug 4, 2007 - 8:51 am
This plugin seems really wicked. I’ve yet to test it but if it works out for me, this could be one of my most useful plugins. When I was installing this, I came up with a question: does this plugin support multiple WordPress users and corresponding Facebook accounts?
#25 by Richard Kaufman on Sat Aug 4, 2007 - 11:13 am
I must be missing this thing on how to generate the “one-time code” by logging into facebook. Can anyone assist?
#26 by Rob on Sat Aug 4, 2007 - 1:01 pm
A single WordPress blog can currently only be associated with a single Facebook account; a multi-author blog cannot be associated with multiple Facebook accounts.
This Wordbook limitation is something that could be fixed in a future release.
#27 by snowcrash on Sat Aug 4, 2007 - 2:35 pm
A useful plugin. Will try it out
#28 by Rob on Sun Aug 5, 2007 - 2:27 am
Version 0.6.1 is available for download. New features:
Enjoy.
#29 by Velanche on Sun Aug 5, 2007 - 2:52 am
I’ve just installed the new version. I like it a lot, already! Nice one.
#30 by neil on Sun Aug 5, 2007 - 5:14 am
nice job
#31 by Richard Kaufman on Sun Aug 5, 2007 - 1:35 pm
Hey, great plugin. The one-time use code thing was due to my being an idiot. My adblocking software was blocking the link to generate the code.
Installed and tested the plugin, it works great! Good job!
#32 by Christopher Miles on Sun Aug 5, 2007 - 5:42 pm
Hi, thanks for putting the work into this. Just a couple of thoughts:
Is there any way to import older posts, or will it only ever show latest posts? Flog Book has an option to manually add posts, but since this application has stopped working for me for the last 48 hours, I’ve turned to Wordbook.
Secondly, the link that Wordbook provides as the link to my blog is actually the WordPress installation URL, not the blog address URL. My WordPress is installed in its own directory, and my blog is actually the frontpage of the site.
#33 by Rob on Sun Aug 5, 2007 - 6:27 pm
It will show the most recent posts using the same option that controls the number of posts on your blog’s first page. The idea is that the Facebook page displays a mini-version of your blog front page.
If you can describe exactly what it is you are trying to do, I can think about it. But it sounds like you are looking for some kind of tool to manage text in your Facebook page; Wordbook is probably not that tool. I have to believe that there must be some app out there that can do a better job of letting you manually create some box on your Facebook page.
I think you actually found a bug; thanks! Try downloading 0.6.2 and see if that works better for you.
#34 by snowcrash on Mon Aug 6, 2007 - 2:38 am
Hello Rob
I’m wondering if it’s possible to alter the plugin so that for multi-authored blogs, in the mini-feed of FB, it doesn’t write the username of FB ‘blogged’ the article (as another blog author could have written it).
It would work if it showed the blog title rather than the FB user?
thanks again for this very nice plugin
#35 by julian on Mon Aug 6, 2007 - 2:59 am
thank you. it works perfectly.
#36 by Tracey on Mon Aug 6, 2007 - 5:09 am
I get the following error when I submit the one-time code:
WARNING IsterXmlExpatNonValid->parse(): expat: Invalid document end [0/1/1]
#37 by Emily on Mon Aug 6, 2007 - 8:23 am
I get sql errors (webhost is running sql 4.0) – specifically:
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURRENT_TIMESTAMP , `postid` BIGINT(20) NOT NULL , `error]
CREATE TABLE IF NOT EXISTS wordbook_errorlogs ( `timestamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP , `postid` BIGINT(20) NOT NULL , `error_code` INT NOT NULL , `error_msg` VARCHAR(80) NOT NULL )
WordPress database error: [Table 'dbXXXXXX.wordbook_errorlogs' doesn't exist]
DELETE FROM wordbook_errorlogs WHERE timestamp
Suggestions?
#38 by Emily on Mon Aug 6, 2007 - 11:22 am
I forgot to mention in my previous comment: my database does not use the default wp_ prefix. Would that make a difference?
#39 by Rob on Mon Aug 6, 2007 - 12:17 pm
What version of PHP do you have installed on your web server? I have written this for PHP-4 (php-4.4.2); PHP-5 has not been tested at all (it will just run the PHP-4 code, so it should theoretically be backwards-compatible).
Otherwise, make sure you copy-and-paste in the one-time code exactly as presented by Facebook – no extra leading or trailing whitespace, all-caps, etc.
I will work on the MySQL-4.0 forwards-compatibility problem; you’ll have to wait for a fix.
The non-default, non-`wp_` database table prefix should not be a problem.
I’ve addressed the above MySQL-4.x and `wp_` prefix questions in more detail in the Other Notes and FAQ.
#40 by Rob on Mon Aug 6, 2007 - 12:22 pm
This is not possible (Facebook limitation). See the Other Notes.
#41 by Brad on Mon Aug 6, 2007 - 9:32 pm
Looks sweet. Keep me updated.
#42 by Tracey on Mon Aug 6, 2007 - 9:57 pm
What version of PHP do you have installed on your web server?
Possibly running 4.3.X – but I need to confirm this.
… no extra leading or trailing whitespace, all-caps, etc …
Tried this already.
Will check with hosts re: PHP 4.3
#43 by James D Kirk on Tue Aug 7, 2007 - 12:52 am
Checking it out. Will post back soon with my experiences and observations. Thanks.
#44 by Tracey on Tue Aug 7, 2007 - 1:47 am
Hello again… Evidently my host is running PHP 5.2.1 – hoping you have some further suggestions! Thanks!
#45 by Tyler on Tue Aug 7, 2007 - 1:46 pm
This isn’t working for me. I’m running WordPress 2.1.2 if that makes a difference.
#46 by Tyler on Tue Aug 7, 2007 - 3:15 pm
Ahhh, it DOES make a difference. I just upgraded, after procrastinating for a really long time, and it actually works now. Now that it’s working, I am very impressed! Just waiting for a multi-author, multi-facebook account version…
Thanks!
#47 by DieHard on Tue Aug 7, 2007 - 6:54 pm
I have WordPress 2.2.2 and Wordbook 0.6.3, and when I activated the plug-in I get this error on top:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of get_post(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.marcilyn/diehard/diehard.cc/blog/wp-content/plugins/wordbook/wordbook.php on line 189
My DreamHost server specification:
PHP 5.2.2
MySQL 5
#48 by Rob on Tue Aug 7, 2007 - 9:19 pm
Wordbook 0.7 is available.
If things are already working fine for you, there is no real reason to upgrade.
#49 by DieHard on Tue Aug 7, 2007 - 9:26 pm
I updated Wordbook to 0.7, same error different line:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of get_post(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.marcilyn/diehard/diehard.cc/blog/wp-content/plugins/wordbook/wordbook.php on line 180
#50 by DieHard on Tue Aug 7, 2007 - 10:34 pm
I was researching and found that “allow_call_time_pass_reference” is set off because according to the PHP authors they said: