21 Recipes for Mining Twitter
Author: Matthew A. Russell
Publisher: O'Reilly, 2011
Pages: 72
ISBN: 978-1449303161
Aimed at: Python programmers enthusiastic about the social web
Rating: 4
Pros: Code-rich
Cons: Comparatively expensive; you need to read the code
Reviewed by: Mike James

A spin-off from a bigger book, is this ultra-slim volume worth it? This is a very short and condensed introduction to using the Twitter API. You need to be very clear that it is just 60 pages of information and that might seem expensive given a cover price of $29.99, i.e. almost 50 cents a page! However, if expense isn't an issue, and it probably isn't if you have a really good idea that depends on mining Twitter, then this book might be the fastest way to get started.

You have to try to keep in mind the fact that a big fat book is not necessarily the best value if it is stuffed and padded with irrelevance. You also need to know that this book is a spin off from Mining the Social Web by the same author - if you have the big book there is no reason to buy this one unless you value the code more than the explanation.

 

Banner

 

In this case the book hits the ground running and you are launched into Python examples from the first page. If you aren't up on Python then you choice is to learn the language or avoid this book. The format of the book is the usual cookbook format with each recipe setting out the solution to some, usually contrived, problem. This is a good format for this sort of topic and yes 21 recipes are about enough to see the API in action and to do just about everything you need.

It starts off looking at OAuth and basically just connecting to Twitter and quickly moves on to actually retrieving data such as trending topics, searching for tweets, visualizing tweets and so on. Later it deals with the streaming APIs and how to dig into the data to analyze friendship relations say. Each of the recipes is fairly well explained, but there are longish listings without much description. In short, you need to read the code as well as the text to get much from the book. It also uses extras such as CouchDB and a range of Python modules.

Overall, a good book as long as you are a reasonably competent programmer and are happy with Python. It isn't cheap but, if you have a focused aim to work with Twitter data,  it will save you a lot of searching among the documentation.

Related review:

Mining the Social Web

Banner


Programming with Rust

Author:  Donis Marshall
Publisher: Addison-Wesley
Pages: 400
ISBN: 978-0137889655
Print: 0137889658
Kindle: B0CLL1TGVT
Audience: Programmers wanting to learn Rust
Rating: 3
Reviewer: Mike James
Rust is the language we all want to learn at the moment so this is just in time.



Modern Fortran

Author: Milan Curcic
Publisher: Manning
Date: November 2020
Pages: 416
ISBN: 978-1617295287
Print: 1617295280
Audience: Fortran programmers
Rating: 5
Reviewer: Mike James
Not your parents' Fortran?


More Reviews

 

<ASIN:1449388345>

Last Updated ( Tuesday, 04 October 2011 )