The Art of Social Media Analysis with Twitter & Python

Location: E145-146 Level: Intermediate
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

Volvo Cars

Krishna Sankar is a consulting data scientist working on retail analytics, social media data science, and forays into deep learning, as well as codeveloping the DeepLearnR package interfacing R over TensorFlow/Skflow. Previously, Krishna was a chief data scientist at, where he focused on optimizing user experience via inference, intelligence, and interfaces. Earlier stints include principal architect/data scientist at Tata America Intl., director of data science at a bioinformatics startup, and distinguished engineer at Cisco. He is a frequent speaker at conferences, including Spark Summit, Spark Camp, OSCON, PyCon, and PyData, on topics such as predicting NFL winners, Spark, data science, machine learning, and social media analysis, as well as a guest lecturer at the Naval Postgraduate School. Krishna’s occasional blogs can be found at His other passion is Lego robotics. You will find him at the St. Louis First Lego League World Competition as a robot design judge.

Comments on this page are now closed.


Picture of Krishna Sankar
Krishna Sankar
07/15/2012 6:32am PDT

Final slides slideshare Programs github

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

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

Wim de Koning
07/11/2012 5:47pm PDT

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

Picture of Krishna Sankar
Krishna Sankar
07/07/2012 5:06pm 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