Programming Books C Java PHP Python Learn more Browse Programming Books
Mining the Social Web and thousands of other textbooks are available for instant download on your Kindle Fire tablet or on the free Kindle apps for iPad, Android tablets, PC or Mac.

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $14.07 Gift Card
Trade in
Kindle Edition
Read instantly on your iPad, PC, Mac, Android tablet or Kindle Fire
Buy Price: $19.79
Rent From: $9.58
More Buying Choices
Have one to sell? Sell yours here

Mining the Social Web: Data Mining Facebook, Twitter, LinkedIn, Google+, GitHub, and More [Paperback]

by Matthew A. Russell
4.8 out of 5 stars  See all reviews (40 customer reviews)

List Price: $44.99
Price: $29.93 & FREE Shipping on orders over $35. Details
You Save: $15.06 (33%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Gift-wrap available.
Want it Friday, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition
Rent from
Paperback $29.93  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

October 20, 2013 1449367615 978-1449367619 Second Edition

How can you tap into the wealth of social web data to discover who’s making connections with whom, what they’re talking about, and where they’re located? With this expanded and thoroughly revised edition, you’ll learn how to acquire, analyze, and summarize data from all corners of the social web, including Facebook, Twitter, LinkedIn, Google+, GitHub, email, websites, and blogs.

  • Employ the Natural Language Toolkit, NetworkX, and other scientific computing tools to mine popular social web sites
  • Apply advanced text-mining techniques, such as clustering and TF-IDF, to extract meaning from human language data
  • Bootstrap interest graphs from GitHub by discovering affinities among people, programming languages, and coding projects
  • Build interactive visualizations with D3.js, an extraordinarily flexible HTML5 and JavaScript toolkit
  • Take advantage of more than two-dozen Twitter recipes, presented in O’Reilly’s popular "problem/solution/discussion" cookbook format

The example code for this unique data science book is maintained in a public GitHub repository. It’s designed to be easily accessible through a turnkey virtual machine that facilitates interactive learning with an easy-to-use collection of IPython Notebooks.

Frequently Bought Together

Mining the Social Web: Data Mining Facebook, Twitter, LinkedIn, Google+, GitHub, and More + Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython + Doing Data Science: Straight Talk from the Frontline
Price for all three: $79.28

Buy the selected items together

Editorial Reviews


Mining the social web, again

When we first published Mining the Social Web, I thought it was one of the most important books I worked on that year. Now that we’re publishing a second edition (which I didn’t work on), I find that I agree with myself. With this new edition, Mining the Social Web is more important than ever.
While we’re seeing more and more cynicism about the value of data, and particularly “big data,” that cynicism isn’t shared by most people who actually work with data. Data has undoubtedly been overhyped and oversold, but the best way to arm yourself against the hype machine is to start working with data yourself, to find out what you can and can’t learn. And there’s no shortage of data around. Everything we do leaves a cloud of data behind it: Twitter, Facebook, Google+ — to say nothing of the thousands of other social sites out there, such as Pinterest, Yelp, Foursquare, you name it. Google is doing a great job of mining your data for value. Why shouldn’t you?

There are few better ways to learn about mining social data than by starting with Twitter; Twitter is really a ready-made laboratory for the new data scientist. And this book is without a doubt the best and most thorough approach to mining Twitter data out there. But that’s only a starting point. We hear a lot in the press about sentiment analysis and mining unstructured text data; this book shows you how to do it. If you need to mine the data in web pages or email archives, this book shows you how. And if you want to understand how to people collaborate on projects, Mining the Social Web is the only place I’ve seen that analyzes GitHub data.

All of the examples in the book are available on Github. In addition to the example code, which is bundled into IPython notebooks, Matthew has provided a VirtualBox VM that installs Python, all the libraries you need to run the examples, the examples themselves, and an IPython server. Checking out the examples is as simple as installing Virtual Box, installing Vagrant, cloning the 2nd edition’s Github archive, and typing “vagrant up.”  You can execute the examples for yourself in the virtual machine; modify them; and use the virtual machine for your own projects, since it’s a fully functional Linux system with Python, Java, MongoDB, and other necessities pre-installed. You can view this as a book with accompanying examples in a particularly nice package, or you can view the book as “premium support” for an open source project that consists of the examples and the VM.
If you want to engage with the data that’s surrounding you, Mining the Social Web is the best place to start. Use it to learn, to experiment, and to build your own data projects.
-- Mike Loukides
Vice President of Content Strategy for O'Reilly Media, Inc.

Book Description

Data Mining Facebook, Twitter, LinkedIn, Google+, GitHub, and More

Product Details

  • Paperback: 448 pages
  • Publisher: O'Reilly Media; Second Edition edition (October 20, 2013)
  • Language: English
  • ISBN-10: 1449367615
  • ISBN-13: 978-1449367619
  • Product Dimensions: 9.2 x 7.1 x 0.9 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (40 customer reviews)
  • Amazon Best Sellers Rank: #11,172 in Books (See Top 100 in Books)

Customer Reviews

Most Helpful Customer Reviews
14 of 14 people found the following review helpful
5.0 out of 5 stars Must have if interested in mining social media October 10, 2013
The second edition of Mining the Social Web is not just an update of the previous edition (including Google+, GitHub, and Twitter API 1.1) but a new book. The book has been rethought in its entirety with a focus on pedagogy and practical use of the code. With the help of a virtual machine and IPython notebook (both made available by the author) it is possible to run the code without difficulty. The book includes a Twitter Cookbook section which is very useful if you want to mine Twitter. In my opinion this book is the best introduction to real-world programming in Python. It introduces many concepts and tools related to modern web-programming and data-mining. Additionally it gives you the tools and the code for querying social media APIs and analyzing your data in a meaningful way. Matthew Russell has realized a tour de force with the new edition of this book: introducing advanced programming concepts and tools in a pedagogic, accessible and practical way.
Comment | 
Was this review helpful to you?
7 of 7 people found the following review helpful
5.0 out of 5 stars Easy to follow, practical, and fun! November 4, 2013
By Greg
This book is extremely practical and has great code samples. It's easy to follow and fun! If you're interested in mining Twitter data, there is an (large) chapter focused entirely on reproducible code snippets that use the Twitter API.
Comment | 
Was this review helpful to you?
9 of 10 people found the following review helpful
By NSlone
Format:Kindle Edition
Why in the world would anyone want to mine data from social websites, you may be asking yourself just about now. Good question. Suppose you were in the process of creating a product, but at the same time you are curious as to which niche it would fit into. You may also be curious as to which niche is the most financially beneficial for your product, as well as perhaps you should tweak it to maximize your particular niche after mining the web for this data.

Who would benefit from this product the most? And best of all, which social websites do your prospective buyers frequent the most. Is it Facebook? What about Twitter? Do they have a membership on LinkedIn? Are they a member of Google+? Regardless of where they may be, there is a good chance that your data mining will pay off.

There is plenty of example code, which makes use of the Python language. There is also IPython Notebook which is an interactive Python interpreter which gives you a notebook like experience from your web browser. With a few clicks from within IPython Notebook, you can be well on your way to learning more about the users of social websites than you might have ever thought possible.

A part of the paragraph on IPython is paraphrased from the books itself. I would definitely recommend this book to others. It looks great on my Kindle Fire HD.
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
5.0 out of 5 stars Excellent toolkit for Social Data Mining November 3, 2013
Great guidebook to acquiring and analyzing data from leading social media sites, including Twittter, Facebook, Google +, LinkedIn and GitHub along with other web tips and tricks. The iPython notebook approach provides turn key like method to run examples and check results in line, which accelerates and reinforces the topics.

Whether you are new to social media API's and want a straightforward way to ramp up learning and discovery of social mining techniques or more seasoned user, this book has it covered. Chapter formats and exercises make it easy to work a variety of topics and are laid out in easy to follow and execute fashion.

Highly recommend, so get the book and get started!
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
5.0 out of 5 stars A Hacker's Guide to Social Data Mashups October 12, 2013
Mining the Social Web v2 is remarkable in terms of its simplicity as well as its depth. The author has focused on reducing friction to learning and executing traditionally difficult topics such as text mining and natural language processing. I already own the first version of MtSW, and between the new topics (LinkedIn, GitHub, Google+) and the new infrastructure (IPython, VirtualBox, etc) this is like a whole new book full of inspiration and ideas. The fact that a lot of this book is a significantly different than the first edition isn't surprising since the topic of the social web is evolving so rapidly.

The reason this is such an important book is that it teaches non-experts to build simple systems for making decisions on data that is constantly up-to-date. It's an end-to-end manual for continuously gathering data (e.g. Twitter API), analyzing data (e.g. Natural Language Processing), and presenting information (e.g. D3). By significantly reducing the barrier to building these systems, Matthew has increased the number of people on the planet that can provide data for making proper decisions . . . and data always beats opinions.

This is one of the rare books that does a great job of introducing deep technical topics AND providing an easy, practical implementation. Unlike a lot of tech books, MtSW makes it trivial to get started through a combination of Vagrant, VirtualBox, IPython Notebook, and GitHub such that you can have all the updated examples up and running within minutes. I'm much more of a practitioner (read: Hacker) than a computer scientist so this is exactly the right amount of technical detail to try out an idea.
Read more ›
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
5.0 out of 5 stars Read this book if you love working with data! January 22, 2014
Book review - Mining the Social Web, 2nd Edition by Matthew A. Russell, O'Reilly Media

Last year I read an article in Nature about Paul Erdős’s on the occasion of his 100th birthday. Outside mathematical circles Erdős is most known for the so called Erdős number. There are several different definitions of the Erdős number but according to Wikipedia it is defines as the "'collaborative distance' between a person and mathematician Paul Erdős, as measured by authorship of mathematical papers". So if you co-authored a paper with Erdős your Erdős number is 1. Your number will be 2 if you co-authored a paper with an author who wrote a paper directly with Erdős and so forth. Analyzing Erdős numbers is an application of social network theory and ever since I read the article I wanted to learn more about data mining applied to modern social media platforms. When researching for a book on this topic I came across Mining the Social Web and the books very practical approach convinced me to that this was the book I wanted to read.

Virtual Machine experience
The book is accompanied with a Virtual Machine experience that sets new standards for interactions between technical programming books and the code samples provided by the book. In no time you are up and running with the code samples in a IPython notebook that also can be edited and used as basis for your own data mining experiments. I would really love to see this approach adopted by other programming books.
Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
1.0 out of 5 stars Stick to online docs.
If you're new, use google and find relevant docs on the web and read. Do not waste time and money on poor quality books like these.
Published 28 days ago by S. Kumar
4.0 out of 5 stars Useful and good reference for methodology of social media mining
I am quite surprised about the way this book presenting how to do text mining on social media. Those social media with different data format bundled with both structure and... Read more
Published 1 month ago by Ted Chao
5.0 out of 5 stars Great resource for anyone seeking to glean data from common social...
I bought the first version of this book a few years ago. This one much easier to follow. The IPython Notebooks and vagrant virtual machine makes this easier to set up. Read more
Published 1 month ago by Polyglot
5.0 out of 5 stars Just started with the book but it looks like an interesting read so...
The topics for the book cover a wide range of data mining practices and the book seems like a great way to get into Python and Data Science.
Published 1 month ago by Arnob
5.0 out of 5 stars Extremely Valuable
In a field that is rapidly changing, the standards have to change. This is a book that is extremely valuable right now, but who knows how long its shelf life will be. Read more
Published 1 month ago by Lance Hermes
5.0 out of 5 stars Excellent guide for any social media technology project
This is an excellent book for engineers and product managers who want to explore and build social media applications. Read more
Published 1 month ago by Eugene
5.0 out of 5 stars A modern Textbook
In a fast paced world of Data Science,this book brings you up to speed with essential tools that are required in mining the web. Read more
Published 1 month ago by Agu Nnamdi gabriel
5.0 out of 5 stars Deeply engaging and very on topic
I have never experienced a writer that was truly this dedicated to his audience!
First of all being Matthew is very approachable and second of all he is being highly... Read more
Published 2 months ago by Amazon Customer
5.0 out of 5 stars Excellent Resource and Highly Recommended
This book has become a "go-to" resource for me. Matthew has provided an extensive amount of examples for both coding and interpretation of the results. Read more
Published 2 months ago by Joe B
5.0 out of 5 stars Sets a new bar for tech books
"Mining the Social Web, 2e" is a terrifically insightful, practical book that every serious data enthusiast should read. Read more
Published 3 months ago by Edmund S Jackson
Search Customer Reviews
Only search this product's reviews


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category