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 Gregg on Thu Feb 12, 2009 - 6:33 am
Correction. Upgraded PHP to 5.0 and all is well.
#2 by Mathgon on Thu Feb 12, 2009 - 7:38 am
I still have the problem for the scheduled posts. Will upgrading PHP to 5.0 will solve my problem?
#3 by Gregg on Thu Feb 12, 2009 - 8:38 am
it did for me
#4 by BandonRandon on Thu Feb 12, 2009 - 2:13 pm
Hello,
I posted this on the discussion fourm with no responce so i’ll try it here. I feel it is very important to take licensing into consideration when developing plugins.
I’m a co-author of wpbook which is a plugin that pulls the entire wordpress self hosted blog in as a facebook app. We have been looking at adding a mini feed type feature for a while now. What is the license of wordbook. Like always we would give credit where credit is due.
http://wordpress.org/extend/plugins/wpbook/
Thanks,
Brandon
#5 by BandonRandon on Thu Feb 12, 2009 - 4:48 pm
Rob,
Sorry to keep bugging you but now that i have installed the app and see how it works i wonder if there is a way to get a hold of the core wordbook app code. Our plugin allows users to create their own app and they generate their own api and secret. The main thing i would want to use from your app is the actually posting the mini feed from the new post.
I looked through the code of wordbook.php and i see where it connect to the wordbook app but i don’t see where it’s pulling the data from the local blog onto the minifeed. Logic would say this is being done from inside your app.
Any help would be great!
Brandon
#6 by Ross Camara on Thu Feb 12, 2009 - 5:57 pm
Brandon,
There actually is no app server. Each copy of the wordbook.php is actually the ‘instance’ of the application. This avoid wordbook having to have a server or pay for bandwidth. The function you are looking for is
‘wordbook_fbclient_publishaction’. Which collects the post text and then calls wordbook_fbclient_publishaction_impl which just delegates off to the facebook php platform lib.
Ross
#7 by BandonRandon on Thu Feb 12, 2009 - 6:15 pm
Thanks Ross,
I’m sorta getting a grasp on this! It’s always fun to try to take apart other peoples plugins and trying to figure out how they work :) If i can get this working though I’ll save me a TON of time so i really appreciate your help!
I guess i’m not understanding what “wordbook_fbclient_publishaction_impl” does it looks like it sends the data to the facebook template created by the app and this post the story is this correct?
Also, how often/how does it know to check for new post?
Thanks so much for all your help!
#8 by Ross Camara on Thu Feb 12, 2009 - 8:35 pm
the publishaction_impl just delegates to the facebook php platform which makes the appropriate server call. I had forgotten about the template, which is defined on the wordbook admin page in facebook. This template defines a bunch of vars that are populated by the data pushed in the publishaction_impl.
The wordbook plugin doesn’t actually function on a timer. Instead the plugin hooks into the publish event that wordpress fires when a now blog post is published.
#9 by Tyler on Mon Feb 16, 2009 - 1:09 pm
Hello,
I love your plugin and have been using it for some time now for my personal site, but I’ve now got a multi-author site and I’m curious as to how to get this to work for my contributors. My users at a “Contributor” level don’t have permission to view the options page to set up their individual accounts. Is there a way to do this?
And then to reiterate what benjamin m. asked about a little while ago, is there a way to exclude categories?
Thanks!
Tyler
#10 by Anonymous on Tue Feb 17, 2009 - 2:13 am
Hey Tyler,
there’s a another way to publish your wordpress post on facebook with a probably the best efficient presentation and with choosing which article you what to publish.
it’s the button “Share on facebook” :
http://www.facebook.com/share_options.php
So you must do it manually, so it depend if you have a lot of post to publish, but this is the method I used actually.
The only problem is the fact that the comments are not reported on wordpress and the wordpress plugins made to report comments on facebook to wordpress by using rss feed import doesn’t work with this method and the author of the plugins seem not to be motivated to do it lol…
#11 by benjamin m. on Tue Feb 17, 2009 - 2:19 am
damn, I have forget to put my signature, i hate to post as anonymous lol
#12 by Skwerl on Tue Feb 17, 2009 - 2:18 pm
one thing i noticed today is that facebook’s publisher no longer sucks text / thumbnails out of wordpress 2.7.1 blogs properly (2.7 worked fine). may or may not be related to some issues reported here.
#13 by Skwerl on Tue Feb 17, 2009 - 2:23 pm
actually, scratch that. rolling back to 2.7 didn’t make the bug go away. must be something common across my themes :P
#14 by Tyler on Mon Feb 23, 2009 - 10:29 am
@ benjamin m.
I appreciate the advice, though I would rather have something automated in place to publish my articles to Facebook for me. I’m not too concerned about comments, I would just like to offer extended exposure for my contributors.
@ Rob
I’d just like to reiterate my concern from before. I’m currently running WordPress 2.7.1 and the options page for WordBook isn’t accessible by anyone at a “Contributor” level. Is there a remedy for this?
Thanks!
#15 by Julie on Tue Feb 24, 2009 - 6:18 am
I can’t figure out how to make this work !!
how do you upload to:
/wp-content/plugins/
i know this is simple for some people… but I can’t figure it out !
#16 by Paradox on Thu Feb 26, 2009 - 11:23 pm
In 2.7, just use the install extension menu item, and search for it.
#17 by DannyM on Sat Feb 28, 2009 - 6:33 pm
Since a few weeks I get a blank page after writing a post in WordPress. The post appears on the site, but I mentioned that it is not being published on Facebook. After I’ve deactivated the plugin the white page after posting disappeared. But re-enabling and even removing the plugin and re-installing won’t make it work any more. Any idea what could be the problem?
#18 by Darko Marti? on Tue Mar 10, 2009 - 6:41 am
Great plugin! It’s definitely a must-have for all my future WordPress installations…
But, I have a feature request :)
I have one multi-author blog (not a MultiUser WP installation).
I think it would be great if we could set a author specific FaceBook “connection” so that when an author publish a new text it gets written on his own FaceBook profile wall…
Thank you,
keep up the good work !
#19 by Tom on Tue Mar 10, 2009 - 7:24 am
I totally agree with you, Marti, we, @ http://www.967.fr would appreciate that exact same feature…
Thanks!
#20 by Rob on Tue Mar 10, 2009 - 8:49 am
Wordbook already supports this. Each blog author (author level or above) needs to log in separately and configure the Wordbook page for their respective Facebook accounts.
#21 by sutton on Wed Mar 11, 2009 - 6:44 am
Robert,
Thanks for the great idea for a plugin. But I had a problem.
When trying to install, I encountered the following after entering the FB-generated code: Fatal error: Call to undefined function: wordbook_rest_client() in /home/.amber/marginrelease/marginnotes.net/wp-content/plugins/wordbook/wordbook.php on line 1097
Any ideas?
Thanks,
-Sutton
#22 by sutton on Fri Mar 13, 2009 - 8:51 am
Never mind, figured out that my “call to undefined function” just meant I needed to switch from PHP 4 to PHP 5.
#23 by timinganddelivery.com on Fri Mar 13, 2009 - 9:47 pm
Great plugin!
POST #288
I agree with Darko, we also run a mutli-author blog. Is it possible to have them link into our Wordbook app so that each time they write a post, it gets published to their wall?
POST #287
I’ve also found, that after upgrading, for a few weeks now, posts have not automatically been updating through Wordbook on my facebook page.
Help?!
darren
#24 by lock picks on Sat Mar 14, 2009 - 4:58 pm
It would be good if this plugin worked with Yet Another PhotoBlog http://johannes.jarolim.com/yapb
Currently the thumbnails don’t get transferred to facebook eg http://www.ratbag.com.au .
Kind regards
Tim
#25 by Lucas on Mon Mar 16, 2009 - 5:17 am
Anyone figured out how we can get this plugin to post into the new ‘Highlights’ sidebar of the ‘new’ Facebook?
That would be really dang cool…..
#26 by sutton on Mon Mar 16, 2009 - 5:54 am
This posts “short posts” to my profile, but not to the FB “home” page (mine or anyone else’s), which limits its utility. (I rarely click on other people’s profile pages, just relying on the overall “home” page feed.) Is there a setting to change to make the “short posts” show up on the home page for my friends, etc., to see?
#27 by Ross on Mon Mar 16, 2009 - 5:56 am
Applications don’t control being added to the highlight bar. It’s based on how people interact with your content.
from facebook documentation “The Highlights area features content with which a user’s friends have interacted. Applications will frequently appear in the highlights area based on how often a users’ friends interact with the application.”
#28 by Jes on Tue Mar 17, 2009 - 7:58 am
Hello and thank you for a great plugin!
Is there a way when creating a new post whether or not to publish to Facebook? By default, are ALL new posts published on Facebook?
Just curious.
Thanks again!
- Jes
#29 by CrazyHorse on Wed Mar 18, 2009 - 5:59 am
Hi, it’s possible to use one Facebook account with more than one blog?
Thanks for your fantastic plugin!
#30 by Lock Picks on Sat Apr 11, 2009 - 12:51 pm
Thank you for creating this plugin. I saves me a heap of time posting in facebook. Would it be possible to take the thumbnail from Yet Another PhotoBlog plugin and post into facebook as well?
Love the plugin
Cheers
Tim
#31 by Stephen McGrath on Sun Apr 12, 2009 - 6:50 pm
I concur with post 297 from “sutton”.
The Wordbook posts appear on my wall, but not in my friends’ Facebook home page feed. Picasa, Flickr, Twitter and other 3rd-party updates appear there, so what’s going wrong here with Wordbook?
As mentioned, there is very little value in them appearing in my profile but not on the home page feed, as people generally only browse this one view looking for triggers to go see a profile.
Anyone familiar enough with the Facebook engine that a solution can be found quickly?
Thanks
#32 by sutton on Sun Apr 12, 2009 - 7:27 pm
Stephen,
I just switched to using Facebook’s “import blog” feature. Seems like a simpler solution, and it shows up on the home page, not just my profile page.
#33 by Stephen McGrath on Sun Apr 12, 2009 - 11:16 pm
Sutton – that’s an excellent suggestion. Only problem is that I also tried that before I posted here and found it made no difference at all. I still didn’t see any of my posts on the front page feed.
Did you have to wait any time to see them appear for you?
#34 by sutton on Mon Apr 13, 2009 - 5:39 am
Hmmm… it used to. I know I got it to work originally or I wouldn’t have accepted it as a solution. But now, checking for my most recent one, I don’t see it on the “home” page. I think I’ve noticed some weird fluctuations in what it will actually do from time to time, as though FB is tinkering with stuff that temporarily interrupts the process. I also remember it would sometimes stop importing the posts, and I would have to restart the process (i.e., by cancelling the import, then starting it again). At any rate, it is definitely not necessarily instantaneous. Sometimes it took my posts an hour or so to be imported.
#35 by Stephen McGrath on Mon Apr 13, 2009 - 6:45 am
Facebook is definitely tinkering daily behind the scenes, looking for the best balance between what they want and what they think their users want. They’ve said as such in their technical forums. So it’s pretty safe to say that what may work today may not work tomorrow, and could quite feasibly be turned back on the day after that.
One thing I can’t stand about Facebook is the difficulty in coming to terms with all the privacy, visibility and security settings. They need to come up with something easy to use and all in one place. Something that we can also monitor in such a way that changes can immediately be noticed.
So, since the time I’d asked the question I’ve come to terms with the fact that I can’t rely on Facebook for notifying my friends of the things that matter to me. I’ll just have to keep pushing them to subscribe to my blogs. Easier said than done in this country full of technophobes LOL.
#36 by Jeremy Cherfas on Tue Apr 14, 2009 - 10:43 pm
First off, thanks for a really useful plug-in.
I’ve just noticed two things, after a Facebook friend pointed them out.
First, Wordbook does not update the Facebook post if I edit the WordPress post. So if I make corrections the FB version is always out of date.
Is there any way to force an update, or to build this in to Wordbook?
Secondly, I have a plugin called wp-footnotes enables, to allow me to insert numbered footnotes. Wordbook does not include the footnotes or, to be fair, the numbers.
Could it be tweaked to do so?
#37 by JeanC on Wed Apr 15, 2009 - 6:01 am
When I delete posts, I get on a blank page with this:
WordPress database error: [Table 'marvine_design.wp_wordbook_userdata' doesn't exist]
SELECT * FROM wp_wordbook_userdata WHERE user_ID = 3
WordPress database error: [Table 'marvine_design.wp_wordbook_errorlogs' doesn't exist]
DELETE FROM wp_wordbook_errorlogs WHERE postid = 571
WordPress database error: [Table 'marvine_design.wp_wordbook_postlogs' doesn't exist]
DELETE FROM wp_wordbook_postlogs WHERE postid = 571
Warning: Cannot modify header information – headers already sent by (output started at /home/marvine/public_html/designgrafik/wp-includes/wp-db.php:517) in /home/marvine/public_html/designgrafik/wp-includes/pluggable.php on line 850
Tried some tricks to fix that (the header thing). Don’t work. Do you have a clue?
#38 by Tarek Mansour on Thu Apr 30, 2009 - 12:51 pm
ok, Let me ask this too
Any way that this can post to a group or a page on Facebook?
#39 by Craig Van Sant on Wed May 6, 2009 - 6:56 pm
After installing latest WB on WP 271 with PHP5 my admin options only show the “Status including reset”, “Thanks” and “Support”. There are really no options to set. Should there be? My login code doesn’t seem to helo either. It drops off and I have to reset the plugin. Should there be options in the admin?
Thanks
Craig
#40 by julakim on Sat May 9, 2009 - 5:51 am
What a great plugin!!! thank you!
but I would like to post it to a PAGE in facebook and not to MY PROFILE. Is that possible anyhow?
thanks for any help or suggestions.
#41 by Clarence Johnson on Tue May 12, 2009 - 8:31 am
Thank you for this plugin.
Recommendation: have the post appear in my status update as oppose to the mini-feed.
#42 by Brad Semp on Wed May 13, 2009 - 6:24 pm
Immediately after installation of the Wordbook plugin…..the content of every one of my existing posts disappeared from my site. I’ve deactivated and uninstalled the plugin but now my post content is still missing.
Appears that the plugin modified something…..any help?
Thanks,
Brad
#43 by Rob on Wed May 13, 2009 - 9:47 pm
I’m sorry to hear that, but my Wordbook plugin does not make any modifications to any posts; it only posts your blog to Facebook (the source code is freely available for anyone to inspect). I think that something else must be responsible.
#44 by Brad Semp on Wed May 13, 2009 - 9:49 pm
Rob -
You’re right! So sorry – another plugin called “Fotobook” was deemed the responsible culprit. Your plugin is great! Keep up the great work!
Sincerely,
Brad
#45 by TheDevil on Sat May 23, 2009 - 2:10 am
Hi,
Installed facebook connect now when I go to make a post i get Error 500.
Messages says
PHP Fatal error: Undefined class constant ‘FacebookRestClient::STORY_SIZE_SHORT’ in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wordbook/wordbook_php5.php on line 24, referer: http://mydomain.com/wp-admin/post-new.php
#46 by Oyun Hileleri on Sat May 23, 2009 - 9:28 am
Thank you. This worked perfectly. =]
#47 by Rob on Sat May 23, 2009 - 11:05 am
The WP_FBConnect plugin is broken; it needs to be updated with the latest Facebook PHP libraries: see http://wordpress.org/support/topic/226106
#48 by Dan on Mon May 25, 2009 - 6:11 am
Great plugin! Hey, I want to change the wordpress icon that displays on the post in facebook to a different one. Where in the plugin code would I go to change that? Thanks!
#49 by Andrea on Tue May 26, 2009 - 3:07 am
Ok, that’s quite an annoying bug.
I’ve other plugins, like RB Internal Links, that uses special tags on posts to do their job.
Wordbook doesn’t renders or ignore these tags, so on my profile I see the actual tags that are really ugly to see.
Any chance to have this solved?
#50 by robanna on Sat May 30, 2009 - 4:35 pm