HubSeekr is a project mainly written in ..., it's free.
A simple Facebook app that ranks your friends according to their centrality in your friend network (DotCloud demo)