Solution: After much looking around, I’ve hit upon a simple method for displaying tweets using Google’s Ajax API. Google’s reliable servers do all the caching for us and life is good again.
Tips: You can’t use your twitter username. You must use your numeric user ID. Get your User ID Here: http://www.idfromuser.com
Template Tag: If you don’t want to use the Sidebar Widget (and I can’t blame you there), I wrapped this in a function. Here’s what you put in your template tag:
if (function_exists(reliabletwitter)) reliabletwitter($accountid, $show, $title, $target, $googleapikey, $hidereplies, $targetid, $loadingurl);
The only required field is $accountid. This is what it looks like when you are done:
if (function_exists(reliabletwitter)) reliabletwitter(11469962, 5, ‘Twitter Updates’);
WordPress Plugin Page: http://wordpress.org/extend/plugins/reliable-twitter/
Current Version: 2.2
Google’s Feed Reader can actually be pretty finicky about Twitter’s feeds. I’ve run into multiple situations where some usernames are simply not viewable by Google. There doesn’t seem to be any rhyme or reason to this, but it seems to have to do with secured posts of some sort. If you enter your user id and get a Feed Error, there’s a couple steps you can take. In version 2.2, a custom RSS feature was added. This allows you to tell Google exactly what RSS feed you want it to parse. Some usernames seem to work better if the feed is secure (https). Here are some recommended url’s to try:
- https://twitter.com/statuses/user_timeline/YOURIDNUMBER.rss (default)
- http://twitter.com/statuses/user_timeline/YOURIDNUMBER.rss (no ssl)
- You can also parse with an aggregator like Yahoo Pipes. Another one to try is FreeMyFeed.com.
If you are using the template tag version, you can simply pass the url in as your accountid. You can get more information about url’s 3 and 4 on Twitter’s API page.