Adds a sidebar widget to display Twitter updates using the more-reliable Google Ajax API.
You need to use your Twitter ID # which is different from your username. Use http://www.idfromuser.com/ to look up your user ID.
See the Troubleshooting FAQ for some tips on fixing this problem.
We've run into this a few times. It seems to have to do with the way that the Google Feedfetcher grabs the feed for the first time. One thing that seems to fix this is to change your show # to 10 or 20, save, load the app, then change it back to the # you want. This somehow seems to refresh Google's caching.
Yup! (And I don't blame you, widgets can be hard to deal with). Just put this code in your template:
<?php if (function_exists(reliabletwitter)) reliabletwitter(11469962); ?>
...and replace '11469962' with your Twitter ID #. This will display the last three tweets on your page. There are some optional fields that you can pass in as well. Here are the available parameters:
<?php if (function_exists('reliabletwitter')) reliabletwitter($accountid, $show, $title, $target, $googleapikey, $hidereplies, $targetid, $loadingurl); ?>
Here are some examples:
<?php if (function_exists('reliabletwitter')) reliabletwitter(11469962, 5, 'Twitter Updates', '_self'); ?>
Shows 5 tweets, with a title of "Twitter Updates", and the links target "_self".
<?php if (function_exists('reliabletwitter')) reliabletwitter(11469962, 1, 'Latest Twitter Update', '', '1', "none"); ?>
Shows 1 tweet, with a title of "Latest Twitter Update", and the links don't have a target attribute. Won't show replies or a waiting icon.
<?php if (function_exists('reliabletwitter')) reliabletwitter(11469962, 4, '', '_blank', '123456789'); ?>
Shows 4 tweets, with no title. The links have a target of "_blank" and an API key of "123456789" will be passed to Google.