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


Krishna Sankar is a Distinguished Engineer − Artificial Intelligence & Machine Learning at U.S. Bank focusing on augmented intelligence, digital human as well as areas like AI explainability. Earlier stints include Senior Data Scientist with Volvo Cars, Chief Data Scientist at, Data Scientist/Tata America Intl, Director of Data Science/Bioinformatics startup & as a Distinguished Engineer/Cisco. He has been speaking at various conferences incl ML tutorials at Strata SJC & LONDON 2016, Spark Summit [], Strata-Sparkcamp, OSCON, Pycon & Pydata, writes about Nash Equilibrium, Isaac Asimov and Robots Rules[ as well as has been guest lecturing at the Naval Postgraduate School. His occasional blogs can be found at
They include NeurIPS2018 — Conference Summary [], Deep Thinking by Garry Kasparov: The Education Of A Machine [] and Ask not if AlphaZero can beat humans in Go — Ask if AlphaZero can teach humans to be a Go champion []. His other passions are semantic Go engines, flying Drones (working towards Drone Pilot License (FAA UAS Pilot) and Lego Robotics – you will find him at the Detroit FLL World Competition as Robots 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