I've just created a small app to act like "common friends" in Facebook so I can find out whether I really know them or not.. Actually a couple of these followers are really interesting people & I'm following them now.. The app finds common people you're follwoing.. not common followers, the followers all is almost the same it just need authentacation..
The application depend on a single twitter API which takes the user name as a parameter & returns an xml (or JSON) file of their freinds for eg these are my friends xml file:
I used the "XML schema definition" tool (Xsd.exe) to generate the class to use the xml nodes directly as nodes rather than querying the XML document.. I'm such a lazy coder.. I know :D..
Once the xml is deserialised into the users datatype like this:
XmlSerializer oXmlSerializer = new XmlSerializer oXmlSerializer = new XmlSerializer(typeof(users)); users oUsers1 = (users)oXmlSerializer.Deserialize( XmlReader.Create(@"http://twitter.com/statuses/friends/"+textBox1.Text+".xml"));
All you need to do is to find the intersection set between the two list/sets.. & display them The source code & binaries are available here: http://cid-570d40f05cc0dc13.skydrive.live.com/self.aspx/Sample%20Code/TwitterTest.rar