Twitterbook v3 Now Available
Posted by Stuart Robertson | Social Media
A new version of Twitterbook is now available – the mashup that lets you use your Facebook status to update your Twitter account. For this update, a special thanks goes out to Ryan for his suggestions on handling long Facebook status updates when submitting them to Twitter.
Download Twitterbook v3 (4KB)
Just like the previous versions of Twitterbook, you’ll need to edit the .php file with your personal information before uploading it to your server. On the new Facebook layout, you can find the link for the RSS feed for your status updates here:
http://www.new.facebook.com/minifeed.php?filter=11
You’ll need the actual URL of your feed (found at the link above) to properly setup the twitterbook.php file, along with the URL for your Twitter Feed, your Facebook Name (eg. ‘Stuart’), as well as your Twitter username and password.
Once you’ve edited and saved the twitterbook file and posted it on a web server running PHP, just go to the URL for the script (or call it using an automated Chron task) anytime you want to update your Twitter account with your Facebook status.
Thanks again for the feedback and suggestions! Post a comment, or connect with me on Twitter: twitter.com/designmeme


August 21, 2008 at 9:01 pm
Twitterbook v3 Now Available | Design Meme
September 27, 2008 at 8:49 am
Find me Elsewhere 27/Sep/2008Twitterbook v3 Now Available | Design Memezoezombie: boooooo the cats! you cost me $10!! zoezombie: i am pretty sure i’m australian. *checks passport* oh yes I am. that means I don’t require to know about the 2008 DEBATE. EFF OFF! 26/Sep/2008
May 30, 2009 at 10:19 am
- Share code snippets on Twitter Drunktwt – anonymous, uncensored twitter updates for everyone WhenDidYouJoinTwitter – When did you join Twitter TwtTrip – A simple travel organiser Twitter app Tweeterized – Twitter signature imagesTwitterBook- Lets you use your Facebook status to update your Twitter account Twitter Magnets – A delicate push Huitter – Twitter’s cheats, tweaks, tools Twivial – Play trivia on Twitter Twenglish – The twool that lets you tweat like a twird
May 28, 2009 at 2:30 pm
on their pages. Essentially, Web Elements is a one-stop-shop for Google’s product widgets, which until this point were often buried in odd places.” (tags: search+engines widgets development business news tidbits+fodder )Twitterbook v3 Now Available | Design MemeMashup that lets you update Twitter via Facebook, recommended to me by Beth kanter. (tags: facebook twitter mashup social+media )
August 20, 2008 at 8:14 am
[...] Twitterbook v3 Now Available | Design Meme SAVE [...]
September 5, 2008 at 10:21 pm
Have just tried installing it and go the following error:
Fatal error: cannot instantiate non-existent class in simplexmlelement in (path) on line 43.
Any ideas?
September 11, 2008 at 2:03 pm
Great i wrote a review in italian, tnx for Twitterbook
September 11, 2008 at 2:26 pm
Grazie mille!
September 11, 2008 at 2:40 pm
Ps: italian review here http://preview.tinyurl.com/4z8rcs
September 16, 2008 at 2:27 pm
[...] script che permette di riportare su twitter gli status message di Facebook. Questo script chiamato Twitterbook è un semplice file php, potete scaricarlo da qui, che richiede alcune semplici [...]
September 20, 2008 at 11:17 am
[...] to these Stories: quello è il link del feed che vi serve. Collegamenti Scarica Twitterbook (4kb) Twitterbook Stuart Robertson su [...]
October 8, 2008 at 12:20 pm
[...] http://www.designmeme.com/twitterbook-v3-now-available/ Reply to this comment » [...]
October 13, 2008 at 7:10 pm
[...] see what they’re really thinking outside of what the media is splashing in the news. Oh and FYI, Twitterbook is the site affiliated with Twitter, offering users the ability to update your home page vis a vis [...]
October 23, 2008 at 6:16 am
Yeah same problem as nick
Fatal error: cannot instantiate non-existent class in simplexmlelement in (path) on line 43.
October 26, 2008 at 5:07 pm
[...] Twitterbook is a mashup that lets you use your Facebook status to update your Twitter account. Download Twitterbook v3 (4KB) [...]
November 12, 2008 at 11:19 pm
Can you explain the Chron task? I’ve gotten this far with the php updated file and need some help from this point. Thanks!
November 17, 2008 at 3:22 am
Solution to my previous problem.
It has to do with php 5…
Just make a .htaccess file for the directory of your twitterbook file with the following lines:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
November 28, 2008 at 1:16 pm
I’ve posted a blog on how to get your facebook status into drupal, but that same module will work with Twitter as well. In case any one is wondering:
http://www.andy-walters.com/get-facebook-status-rss-feed
December 11, 2008 at 2:49 am
[...] Twitterbook is a mashup that lets you use your Facebook status to update your Twitter account. Download Twitterbook v3 (4KB) [...]
December 30, 2008 at 7:12 pm
I’m having some type of weird issue. I did try to do the php5 thing someone previously mentioned by adding a htaccess.
Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’ in /home/.national/daniel13/dangarion.com/twitterbook/twitterbook.php:43 Stack trace: #0 /home/.national/daniel13/dangarion.com/twitterbook/twitterbook.php(43): SimpleXMLElement->__construct(”) #1 {main} thrown in /home/.national/daniel13/dangarion.com/twitterbook/twitterbook.php on line 43
January 10, 2009 at 2:46 pm
I am having the exact same issue as DanGarion above. Anyone have a fix?
January 10, 2009 at 2:52 pm
I’ll take a look at the code when I get to the office on Monday and see if I can figure out what’s going on with that exception.
January 13, 2009 at 9:51 am
Stuart, any luck?
January 13, 2009 at 11:10 am
Try putting this line after setting the USER_AGENT:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
Works for me at that point. Seems theres a redirect in there that curl is not following, so the XML parser is trying to parse an empty string.
January 13, 2009 at 11:15 am
Thanks Nigel!
January 13, 2009 at 11:20 am
That appears to fix it. Thanks!
February 1, 2009 at 12:58 am
Everything is working great. But now I’m wondering if there is a way to get this to work if you also sometimes just post directly to Twitter on your own. Since it’s only looking at the most recent message on Twitter, if you post directly on Twitter it will, then repeat the message that is on your Facebook shortly after.
February 13, 2009 at 8:53 am
Nigel, where would one put the curl_setopt($ch, curlopt_FOLLOWLOCATION, true) line. Where is the user_AGENTentry?
Is it in the twitterbook.php file?
If it is, I added it, but still don’t work!!
Can you be more specific please?
Thanks
February 13, 2009 at 9:18 am
Rafa – in my copy of the code, around line 32 there is a line
curl_setopt($ch, CURLOPT_USERAGENT, “Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.1) Gecko/20061223 Firefox/2.0.0.1″);
Add the following on a new line after that line:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
You should then find the script works for you. At least, it should get your facebook status (I just tried it).