CyberWar

Si Vis Pacem, Para Bellum

By

21 Recipes for Mining Twitter

21 Recipes for Mining Twitter @ CyberWar: Si Vis Pacem, Para BellumMillions of public Twitter streams harbor a wealth of data, and once you mine them, you can gain some valuable insights. This short and concise book offers a collection of recipes to help you extract nuggets of Twitter information using easy-to-learn Python tools. Each recipe offers a discussion of how and why the solution works, so you can quickly adapt it to fit your particular needs. The recipes include techniques to:

  • Use OAuth to access Twitter data
  • Create and analyze graphs of retweet relationships
  • Use the streaming API to harvest tweets in realtime
  • Harvest and analyze friends and followers
  • Discover friendship cliques
  • Summarize webpages from short URLs

This book is a perfect companion to O’Reilly’s Mining the Social Web.

Price: $29.99

Click here to buy from Amazon

By

Mining the Social Web: Analyzing Data from Facebook, Twitter, LinkedIn, and Other Social Media Sites

Mining the Social Web: Analyzing Data from Facebook, Twitter, LinkedIn, and Other Social Media Sites @ CyberWar: Si Vis Pacem, Para BellumFacebook, Twitter, and LinkedIn generate a tremendous amount of valuable social data, but how can you find out who’s making connections with social media, what they’re talking about, or where they’re located? This concise and practical book shows you how to answer these questions and more. You’ll learn how to combine social web data, analysis techniques, and visualization to help you find what you’ve been looking for in the social haystack, as well as useful information you didn’t know existed.

Each standalone chapter introduces techniques for mining data in different areas of the social Web, including blogs and email. All you need to get started is a programming background and a willingness to learn basic Python tools.

  • Get a straightforward synopsis of the social web landscape
  • Use adaptable scripts on GitHub to harvest data from social network APIs such as Twitter, Facebook, and LinkedIn
  • Learn how to employ easy-to-use Python tools to slice and dice the data you collect
  • Explore social connections in microformats with the XHTML Friends Network
  • Apply advanced mining techniques such as TF-IDF, cosine similarity, collocation analysis, document summarization, and clique detection
  • Build interactive visualizations with web technologies based upon HTML5 and JavaScript toolkits

“Let Matthew Russell serve as your guide to working with social data sets old (email, blogs) and new (Twitter, LinkedIn, Facebook). Mining the Social Web is a natural successor to Programming Collective Intelligence: a practical, hands-on approach to hacking on data from the social Web with Python.”

–Jeff Hammerbacher, Chief Scientist, Cloudera

“A rich, compact, useful, practical introduction to a galaxy of tools, techniques, and theories for exploring structured and unstructured data.”

–Alex Martelli, Senior Staff Engineer, Google

Price: $39.99

Click here to buy from Amazon