Book Image

Mastering Social Media Mining with Python

By : Marco Bonzanini
Book Image

Mastering Social Media Mining with Python

By: Marco Bonzanini

Overview of this book

Your social media is filled with a wealth of hidden data – unlock it with the power of Python. Transform your understanding of your clients and customers when you use Python to solve the problems of understanding consumer behavior and turning raw data into actionable customer insights. This book will help you acquire and analyze data from leading social media sites. It will show you how to employ scientific Python tools to mine popular social websites such as Facebook, Twitter, Quora, and more. Explore the Python libraries used for social media mining, and get the tips, tricks, and insider insight you need to make the most of them. Discover how to develop data mining tools that use a social media API, and how to create your own data analysis projects using Python for clear insight from your social data.
Table of Contents (10 chapters)


This chapter discussed some more options to mine data on social media. Beyond the usual popular social networks, such as Twitter, Facebook, and Google+, many other platforms offer APIs to access their data.

When a Python client is not available for a particular platform, we can implement a custom client, exploiting the simplicity of the requests library. The implementation of a custom client seems to add unnecessary complexity at first, but it provides an important layer of abstraction that pays off in terms of design in the long run.

Besides the instructions for a custom client implementation, we also examined some other popular services to mine complex objects. We retrieved data about videos from YouTube, open source projects from GitHub, and local businesses such as restaurants from Yelp.

Many more social media platforms remain unexplored in this book, because providing a comprehensive discussion would be unrealistic, but I hope that the readers have a good taste of the many possibilities...