HOME
ABOUT ME
ADA
ANAIS
SKY


View All Tags

Friday February 06, 2009 at 9:16

Permalink ∞  |  Tags  Twitter    HOWTO  

Create your own Twitter Badge

I’ve never been a big fan of the Badges created by Twitter.  Though custom themes are possible, you have very little control over exactly what gets displayed.  Fortunately, Twitter has a full API that makes accessing your public timeline realitively simple.  Just remember, this will not work if you have set your updates to Private.

I’ve been playing around with the Twitter API for a while now, creating a full backup of all my posts, and posts of users I follow for faster off line viewing.  When Fail Whale sitings were common place, this allowed me to keep up with stuff, even when Twitter was down.  It never really occured to me, to use this same type of method to create custom Twitter Badges.  I have tried several of the official Badges in the past, with varying levels of success.  My biggest complaint, is that the Javascript is often too bloated, and when Twitter is down, the page would take forever to render.  By calling the JSON directly, the page will continue to load, and the Twitter element will not be displayed unless it can successfully read and parse the JSON.

So, enough about why, here’s the how.  Tumblr doesn’t lend itself to effectively presenting code, hence the link.

← Previous Post Next Post →

Name: Gabriel (Gabe Ingram)

Birthday: 8/21

Occupation: Reluctant Programmer. I''ve been programming in Coldfusion since 1999.  From 2000 to 2008, I was the Application Team Lead for Interactive Media.  During that time, I was responsible for maintaining and developing all of the sites and portals for HamptonRoads.com and PilotOnline.com.   I was the lead developer for the HamptonRoads.com and PilotOnline.com migration from ColdFusion site to Drupal.  I recently left Interactive Media, and have returned to ColdFusion coding for a company in Greensboro, NC.

Education: BA in History, BA in philosopy, MA in Humanities. Like I said, I''m a reluctant programer.

Interests: Too many to mention, just look at all the stuff on the site and you''ll get an idea of what interests me.  My wishlist is also a good place to see what I''m interested in.

Current Obsessions: iPhone, Jailbreak, Nintendo DS, Jazz , Apple/Mac, William S. Burroughs and comic books.

About the Site: I started this site in 1999.  It has gone through 6 distinct re-designs, and I have switched platforms four times.  The site is now hosted through Tumblr.

CLOSE BIO