I am no longer confused! Here is a quick tutorial in how to post images to Twitpic and Twitter when using OAuth. I'm indebted to Steve Corona of Twitpic, for his help with this. You can see the full code on Dabr's Google Code page. First of all, you'll need to have enabled OAuth for your Twitter client. I use Abraham's excellent OAuth libraries for PHP. This tutorial assumes you already have OAuth working. I'll attempt to explain what I'm doing as I go along - but the code should be…
Continue reading →
Twitpic has implemented an OAuth API. No more having to hand out passwords to all and sundy. Only I'm too much of a dunderhead to get it working. Perhaps it's a combination of heatstroke or this rotten head-cold, but I just can't see what I'm doing wrong. Any help much appreciated. The easy bit. It's easy to post the data to Twitpic $media_data = array( 'media' => '@'.$_FILES['media']['tmp_name'], 'message' => html_entity_decode($_POST['message']), 'key'=>'123465789132465' );…
Continue reading →
There have been howls of protest from Labour voters at the prospect of a Lib/Con coalition. The main complaint is that anyone daft enough to vote for Clegg has caused a Tory government. But is it true? Using data from The Guardian, we can see if the Lib Dems cost Labour a majority. In how many seats did a Labour candidate lose to a Conservative? 137. But this doesn't tell the whole story. In Clacton, even if all the 5,577 Lib Dem votes had gone to Labour, the 16,376 is still well short of…
Continue reading →
Having moaned that my TARDIS was too full, I set on a quest to find another. The cardboard one I had appears to be the last of its kind - but I did manage to snag this beauty on eBay. It's a Panopticon '93 Officially licensed TARDIS - similar to this one on RetroTrader. Click to embiggen images. It's a little scuffed, but nothing a lick of paint can't fix. Of slight - very slight - annoyance is that it's a fraction too shallow to hold standard DVD cases and have the doors tightly…
Continue reading →