Twitt-Twoo v1.1 released

Thursday 05 April 2007

As mentioned a couple of days ago I’ve been working on an update to Twitt-Twoo. Its nothing ground-breaking, but hopefully some of the changes that I’ve made will make it a little more ‘friendly’ to use.

First up there have been a few changes to the code, mainly to incorporate some of the recent changes to the Twitter API, including the deprecation of ‘relative_created_at’ from the feeds. To overcome this I’ve used a modified combination of a couplef of the scripts posted in the Twitter fan wiki. There wasn’t a php version listed, so I adapted the javascript one. Works nicely.

The other big change is the addition of “caching”. Its not like Alex King’s Twitter Tools, in that it doesn’t store a record for all your tweets, all I’m doing it simply storing the latest tweet and its time in the wp options table. For more details about this have a read of my previous post.

The last lot of changes were to remove the need for you to manually enter your twitter id number, and the url for your twitter profile image. Both are now sucked out of the feed the first time that you update. I have also incorporated a request to add and option to allow you to turn your Twitter image on or off.

As always, if you have any troubles, or if you’ve got any suggestions then just leave a comment here, or swing by the support forum and leave a message there.

For more details, and installation tips visit the Twitt-Twoo homepage.

Download Twitt-Twoo 1.1 Now!
Downloaded 6380 times

Twitt-Twoo Support Forum

Leave a Comment on “Twitt-Twoo v1.1 released”




13 Responses to “Twitt-Twoo v1.1 released”

  1. I have PHP 5, but its 5.1.4 and wasn’t compiled with JSON support.

    I have my own VPS, so I tried to install JSON support using the command

    pecl install json

    but that didn’t seem to work, got an error in ./configure compile time,
    so it really would be nice if you could figure out how to get this to work without JSON

    because I have root access to the server and I STILL can’t get this darn plugin to work :(

    bubazoo Tuesday 07 August 2007
  2. just downloaded! twit…me @ shrimphead!

    shrimphead Wednesday 04 July 2007
  3. Dean, I love it. Simple, no required widget crap, exactly what I want. Nice work, as always.

    tyler Sunday 06 May 2007
  4. [quote comment=”1211”]I found a little bug in the plugin… Anyone who’s logged in can change my Twitter status…[/quote]

    Ooops… I gues since I’m the only person who actually uses my blog, its something that I didn’t think to test. I’ll see what I can do about just restricting it to users with admin rights.

    Thanks for bringing it to my attention.

    dean.j.robinson Tuesday 01 May 2007
  5. Hi Dean,

    I found a little bug in the plugin… Anyone who’s logged in can change my Twitter status…

    Camiel Tuesday 01 May 2007
  6. Hi…
    just a little “feature-request” - how about the idea of making comments on the twitter status?
    So, eg., like to comment somehting like “gratz” or so to your sql-test… ;P
    But I dont now if this would work.. the plugin would need to delete the old comments everytime it changes… because the comments on your sql-test would be odd on your next twitt…
    anyway, nice plugin.

    CursedDemon Monday 30 April 2007
  7. [quote comment=”953”]One feature request, would it be possible to cache more tweeds so I can have, for instance, a 24hour tweed history on my site?

    Showing tweeds of friends would also be nice, I think this is supported by the API isn’t it?[/quote]

    Both of these sound like things that Alex Kings Twitter Tools plugin does, well the first one anyway.

    Once I have got the cachine sorted out for single tweets, I will see what I can do about caching more. Same goes for showing friends tweets, yes its possible, I just have to find the time to implement it successfully.

    [quote comment=”955”]I’m getting this error on the page when I install the plugin:

    Call to undefined function: json_decode() in /home/goodsand/public_html/wp-content/plugins/redo-twitt-twoo/redo-twitt-twoo.php on line 91

    Any ideas?

    Thanks! Great addition to Redoable![/quote]

    Sorry about this, I failed to mention this when I released the plugin, but the method I am using to cache the tweets in Twitt-Twoo 1.1 is using a method (json_decode()) that is only found in php5. So if you don’t have php5, and you activate the plugin you will get the error that you have mentioned. I apologise for the inconvenience, and I am working on finding an alternate solution that will work on php4 and 5.

    dean.j.robinson Monday 09 April 2007
  8. Hi Dean,

    I’m getting this error on the page when I install the plugin:

    Call to undefined function: json_decode() in /home/goodsand/public_html/wp-content/plugins/redo-twitt-twoo/redo-twitt-twoo.php on line 91

    Any ideas?

    Thanks! Great addition to Redoable!

    Woy Saturday 07 April 2007
  9. Dean,

    One feature request, would it be possible to cache more tweeds so I can have, for instance, a 24hour tweed history on my site?

    Showing tweeds of friends would also be nice, I think this is supported by the API isn’t it?

    Camiel Friday 06 April 2007
  10. Great work Dean, thanks!

    Camiel Friday 06 April 2007
  11. [quote comment=”944”]Great plugin, but I found a problem already. When I update from Twitterific my site shows my update as:

    13608 days ago

    Which is a really long time ago. ;) [/quote]

    It is a VERY long time ago….

    To be exact its about 37.28 years ago, which just happens to be 1/1/1970.

    You see, my function that calculates the relative time converts the time of your last cached tweet to a timestamp, which is the number of seconds since 1/1/1970. Subtracting this timestamp from the current time give the relative time.

    So initially, when you install Twitt-Twoo the setting that stored the time for your latest tweet will be 0 until it updates. So $time_now - 0 returns that it was ‘tweeted’ 13608 days ago. Yes, stupid I know, I will have to fix/improve this in the future. In theory it should correct itself once the tweets start being updated, but if it doesn’t just let me know.

    [quote comment=”946”]Alright Dean, I really like this plugin, and I hate to go off topic, but when are we going to see the next Redoable release?[/quote]

    Soon, now that WP2.1.3 has been released, I will be installing that mid-week to test it out, and if all goes well, and I don’t find anything else that I’ve missed, then I should be able to release it next weekend.

    dean.j.robinson Friday 06 April 2007
  12. Alright Dean, I really like this plugin, and I hate to go off topic, but when are we going to see the next Redoable release?

    Brad Bolman Friday 06 April 2007
  13. Hi Dean,

    Great plugin, but I found a problem already. When I update from Twitterific my site shows my update as:

    13608 days ago

    Which is a really long time ago. ;)

    Paddy O'Furniture Friday 06 April 2007

Pingbacks & Trackbacks

Socialized through Gregarious 42