Twitt-Twoo

Twitt-Twoo Released

Twitt-Twoo 1.1

Twitt-Twoo is a simple little plugin that will allow you to update your Twitter status right from your blog’s sidebar. AJAX takes cares of the hard work, and means that your page doens’t even have to reload, allowing for quick and easy status updates.

Features

  • Displays your latest Twitter status, and when it was last updated.
  • Displays your Twitter icon/avatar next your status.
  • Allows for easy updating of your status from the sidebar.
  • Updates using AJAX, so no page reload is required.
  • Provides a link to your personal Twitter page. eg. http://twitter.com/deanjrobinson
  • Provides a link to your Twitter RSS feed.
  • Simple options page located in admin Options->Twitt-Twoo
  • Provides a ready-to-use widget/module.
  • Comes with a new Twitt-Twoo icon, inspired by the Feed and Share Icon projects.
  • NEW - Caches your last ‘Tweet’, to improve page load times.
  • NEW - Option to hide your Twitter image if you want to.

Twitt-Twoo in action

You can see it at work at the top of my sidebar on the right hand side. The images below outline the simple task of updating your Twitter status.

Twitt-Twoo - displaying status in sidebar This is how your status will be displayed in your sidebar, as you can see it shows your status, your icon/avatar and when your status was last updated.
Twitt-Twoo - editing status in sidebar After clicking on the ‘edit’ button you will be shown the field to enter your new status into, when your done click the ‘update’ button.
Twitt-Twoo - updating status via AJAX You will be shown a little ‘spinner’ to indicate that your status is being updated.
Twitt-Twoo - newly updated status is shown in sidebar Once your status has been successfully updated, you new status will be shown.

Installation

  1. Download the zip file and extract the contents.
  2. Upload to your wp-content/plugins directory.
  3. Activate Twitt-Twoo from plugins page in Wordpress admin.
  4. Go to options->Twitt-Twoo in your Wordpress admin and enter your settings so that Twitt-Twoo know whos Twitter to show, and update.
  5. If you use the sidebar widget plugin then you should now have a Twitt-Twoo widget available for you to add to your sidebar. This also applies to users of k2-based themes such as K2, Reodable and Unwakable.
  6. If you prefer to manually edit your sidebar.php then this is the code that you will need to add:

    <?php if (function_exists(‘twitttwoo_display′)) { $twitt_twoo_user_name = get_option(‘twitt_twoo_user_name′); ?>
    <div class=“sb_twitttwoo”>
    <h2><a href=“http://twitter.com/<?php echo $twitt_twoo_user_name; ?>″ target=“_blank″>Twitt-Twoo</a></h2>
    <div>
    <?php twitttwoo_display(); ?>
    </div>
    </div>
    <?php } ?>

     — OR — 

  7. If you wish to insert your own structure around the Twitt-Twoo output, you can just use this:

    <?php twitttwoo_display(); ?>

  8. Enjoy.

Download

Please note that this plugin uses the json_decode function which is only found in PHP5, so if you aren’t running PHP5, then you won’t be able to use this plugin. Sorry for this restriction, I am working to find a way around it at the moment.

Download Twitt-Twoo 1.1 Now!
Downloaded 3448 times

Support

If you have any problems with Twitt-Twoo please leave me a message in the support forum, and I will try to help you resolve any issues.

Also if you have any requests or suggestion for future versions I’d love to hear them.

Twitt-Twoo Support Forum

Changelog

5/04/2007
Version 1.1
Added caching of latest Tweet.
Added option to turn Twitter image on/off
Small changes to functionality to accommodate recent changes to the Twitter API.
19/03/2007
Initial public release.

Leave a Comment



28 Responses to “Twitt-Twoo”

  1. This plugin is exactly what I wanted, but I can’t use it because my host only has PHP 4!

    Please find a way around it. :D

    Alisha Quote
  2. i get redoable skin, look at gwardia.budo.pl

    osk Quote
  3. If you use GoDaddy as your host, they are only supporting PHP 5.1.4. They also said they won’t be moving to 5.2 very soon bc of a security issue which may be BS, but oh well.

    Go Daddy SUCKS.

    CBall Quote
  4. Excellent plugin!!!

    c.urdaneta Quote
  5. good

    sohbet Quote
  6. Awe… we’re hoping that it could be compatible to php4…. I’m so lovin’ your theme, and I’m currently using the regular twitter badge. Awe…

    Neil Quote
  7. Dean,

    Can I ask who you’re host is? I need a new host, so I might as well find one that uses PHP5. I made the very unfortunate error of choosing Yahoo! for use with Wordpress, and it’s been a nightmare… they don’t even support most php calls.

    Any help you could provide would be greatly appreciated! Thanks!

    Dan Quote
  8. Any word on an update for PHP4 compatibility? I really want to use this on my blog…

    Elliot Quote
  9. Great plugin, Thanks!

    Error while trying to update Twitter details (Options -> TwittTwoo)

    Fatal error: Call to undefined function: json_decode() in […]/wp-content/plugins/redo-twitt-twoo/redo-twitt-twoo.php on line 91

    […] replaced for security reasons

    Felix Ker Quote
  10. This plugin is much better and beautiful, I like it

    Sigar Quote
  11. This is definitely the most aesthetically-pleasing Twitter plugin for WP to date, but it’s a shame I can’t use it as my host is running PHP4 not 5! I do hope you will indeed be trying to expand the viability of this plugin to all WP users.

    Right now I’m stuck with the default Twitter template badge and it is soooo boring! X

    Andy Quote
  12. Doh, nm me, just realised it needs php 5 to work. :)

    Zenith Quote
  13. I’m getting that same error too.

    Zenith Quote
  14. I recently updated to 1.1 (I had your previous version), and now, I’m getting an error?…

    Fatal error: Call to undefined function: json_decode() in …redo-twitt-twoo/redo-twitt-twoo.php on line 91’

    Is there anyway to fix this? Thanks!

    Rachel Quote
  15. Hi,

    Love this plugin but I’m wondering if you could make it work with Jaiku too? Whilst I like Twitter, the Series 60 application for my mobile phone with Jaiku makes it more useful for me, but this plugin would let me link it with my website.

    Thanks, Shane.

    Shane Quote
  16. 不知道谁能看懂中文,谁看懂了的话联系我一下,交个朋友!!~~!~~saga_cc@tom.com

    reload Quote
  17. Great plugin! It seems though that it does not work well together with wp-cache. (wp-cache doesn’t cache anything anymore)

    Interesting, I haven’t been using wp-cache since it killed my blog when the cache files corrupted, so I wouldn’t have picked that up.

    I’m not sure what exactly would cause it to stop wp-cache working, but I’ll have a look into it when I get some time, ans see what I can find.

    dean.j.robinson Quote
  18. Great plugin! It seems though that it does not work well together with wp-cache. (wp-cache doesn’t cache anything anymore)

    Johnny Chadda Quote
  19. Great plugin, although I can’t move to 1.1 yet, since my host still runs 5.1.6. You should update your json_decode notice to say that it’s only in 5.2.0. Look in the PHP manual if you don’t believe me. Keep up the great work, and I hope you find a solution!

    Thanks for pointing that out, I wasn’t aware that it was only in 5.2.0. All the more reason for me to try and find an alternate method of ‘caching’. Thanks.

    dean.j.robinson Quote
  20. Great plugin, although I can’t move to 1.1 yet, since my host still runs 5.1.6. You should update your json_decode notice to say that it’s only in 5.2.0. Look in the PHP manual if you don’t believe me. Keep up the great work, and I hope you find a solution!

    soren121 Quote
  21. Hey Dean,
    Awesome plug-in, hope you can eventually get this to PHP4, my host is being annoying and won’t upgrade :P. Anyway, this is exactly what i was looking for. Such a great implementation, you should definitely list it on the plug-in listing on wordpress.org.

    Thanks for the great code!

    Nat Quote
  22. Hi Dean, Thanks for the plugin its great. I was wondering if there is anyway to display your tweets with out your twitter picture? Is a simple hack or removal of code possible?

    I’ll go one better, and include an option in the next version to let you turn the image off easily. Version 1.1 should be ready by the end of the week.

    dean.j.robinson Quote
  23. Hi Dean, Thanks for the plugin its great. I was wondering if there is anyway to display your tweets with out your twitter picture? Is a simple hack or removal of code possible?

    Adam Boulton Quote
  24. This is what I’ve been looking for for my blog — thanks for developing it! Now, I just need my computer back, a free afternoon, some dr. pepper…

    Rachel Quote
  25. Thanks for all your work!
    my blog use your theme! :D

    Mauro Quote
  26. Well, that trick won’t work either, since basically the browser is waiting on your AJAX call to finish rendering the page… You can do two things… either wait until the page finishes loading and *then* call the AJAX request… *or* cache it server side so that, whenever Twitter is available, you’ll have fairly up-to-the-minute statuses without the laggy call.

    Chris Messina Quote
  27. Chris, thanks for the feedback. And here I was thinking that it was just my crap internet connection that was causing it to load so slow. I will have a look and see what I can do about possibly caching the twitter statuses.

    I did try moving the javascript to below the sidebar in the code, so that the sidebar could load before the twitter status is called…but it didn’t seem to like that, because it wouldn’t work at all.

    dean.j.robinson Quote
  28. Nice work, Dean.

    Given Twitter’s latency, I noticed that your sidebar takes a *really* long time to load, as it’s waiting for Twitter to send you your status. I believe the approach used by Alex King’s Twitter Tools polls the RSS on the backend and then caches it, avoiding such long wait times.

    Perhaps you could do some caching so that a) you’re not smashing Twitter’s servers with active AJAX requests b) do some caching so that Twitter doesn’t prevent the rest of your sidebar from loading?

    Just a thought. Otherwise — looks great!

    Chris Messina Quote

5 Pingbacks and Trackbacks

  1. Plugin Status Update at deanjrobinson.com
  2. Do you Tweet? : Build A Blog
  3. viola’s blog » *zwitscher*
  4. Twitt Twoo « Twitter Apps
  5. Nicky's blog
Socialized through Gregarious 42
twitter was not updated. | lastfm was not updated. |