Update: Oops, I got it all wrong the first time. Check out the next article instead.
I thought it would be interesting to see a map of where all of my Twitter friends and followers are, and knowing that both Twitter and Google Maps provide APIs I figured I could throw something together pretty easily. I was not mistaken.
The page I created is available as a demo, but you may not want to try it out from my server. The problem with this approach is that you must authenticate with Twitter in order to get the list of friends or followers, which means that you have to submit your screen name and password via the form which is not secured. If you want to see how it works you can just enter my screen name and leave the password blank. Or, if you're feeling risky, use your own screen name and password and see where your friends really are.
The code that I wrote to accomplish this feat is attached to this blog post. It was a very quick and dirty job, just trying to see if I could get it to work, so take it with a grain of salt. Note also that some of the code is borrowed from the sample that ships with Ray's Google Geocode project. Thanks Ray!