The Art of Social Media Analysis with Twitter & Python

Krishna Sankar (
Location: E145-146
Presentation: external link
Average rating: **...
(2.33, 12 ratings)

We will explore properties of networks that are relevant to Social Network Analysis using the Tweeter APIs. The tutorial will first introduce the Twitter API starting with the objects and then the API calls, focusing on SNA primitives. We will then dive into applying Social Network Analysis mechanisms like Cliques over the Twitter API primitives like friends, followers & trends. Python & MongoDB will be used during our programming work. For working through the hands-on sessions, install Python 2.7, requests library for python, MongoDB & pymongo.


  • Networks, Twitter and Analytics – The Basics
  • Mechanics : Twitter Objects, API & Python
  • SNA Mechanisms & Twitter Primitives
  • Conclusion & Future Work
Photo of Krishna Sankar

Krishna Sankar

Krishna Sankar is a Chief Data Scientist at, where he is focusing on enhancing use experience via inference, intelligence & interfaces. Earlier stints include Principal architect/Data Scientist/Tata America Intl, Director of Data Science/Bioinformatics startup & as a Distinguished Engineer/Cisco. He has been sparking at various conferences (OSCON,pycon,pydata) about predicting NFL [], Spark[], Data Science [], Machine Learning [], Social media Analysis [] as well as has been guest lecturing at the Naval Postgraduate School. His other passion is Lego Robotics – you will find him at the St.Louis FLL World Competition as Robots Design Judge.

Comments on this page are now closed.


Picture of Krishna Sankar
Krishna Sankar
07/15/2012 1:32pm PDT

Final slides slideshare Programs github

See you all tomorrow. Cheers
Picture of Krishna Sankar
Krishna Sankar
07/12/2012 10:49pm PDT

To do the exercises during the tutorial, the requests python library is needed.

Wim de Koning
07/12/2012 12:47am PDT

Any pre-requisites (python libraries) we need to install prior to the tutorial?

Picture of Krishna Sankar
Krishna Sankar
07/08/2012 12:06am PDT

Preliminary Slides Would appreciate feedback as I finalize the tutorial


For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or

View a complete list of OSCON contacts