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)

Chapter 4.  Posts, Pages, and User Interactions on Facebook

In a book about social media mining, the reader probably expects a chapter about Facebook. Launched in 2004, and initially limited to Harvard students, today Facebook is a multi-billion dollar company with nearly 1.5 billion monthly active users. Its popularity makes it an extremely interesting playground for data mining.

In this chapter, we will discuss the following topics:

  • Creating an app to interact with the Facebook platform
  • Interacting with the Facebook Graph API
  • Mining posts from the authenticated user
  • Mining Facebook Pages, visualizing posts, and measuring engagement
  • Building a word cloud from a set of posts