• Complain

Matthew A. Russell - 21 recipes for mining Twitter

Here you can read online Matthew A. Russell - 21 recipes for mining Twitter full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Sebastopol, Calif, year: 2011, publisher: OReilly Media, Inc., genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Matthew A. Russell 21 recipes for mining Twitter
  • Book:
    21 recipes for mining Twitter
  • Author:
  • Publisher:
    OReilly Media, Inc.
  • Genre:
  • Year:
    2011
  • City:
    Sebastopol, Calif
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

21 recipes for mining Twitter: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "21 recipes for mining Twitter" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Millions 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 OReillys Mining the Social Web.

Matthew A. Russell: author's other books


Who wrote 21 recipes for mining Twitter? Find out the surname, the name of the author of the book and a list of all author's works by series.

21 recipes for mining Twitter — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "21 recipes for mining Twitter" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make

21 Recipes for Mining Twitter Matthew A Russell Beijing Cambridge - photo 1

21 Recipes for Mining Twitter
Matthew A. Russell
Beijing Cambridge Farnham Kln Sebastopol Tokyo Preface Introduction This - photo 2

Beijing Cambridge Farnham Kln Sebastopol Tokyo

Preface
Introduction

This intentionally terse recipe collection provides you with 21 easily adaptable Twitter mining recipes and is a spin-off of Mining the Social Web (OReilly), a more comprehensive work that covers a much larger cross-section of the social web and related analysis. Think of this ebook as the jetpack that you can strap onto that great Twitter mining idea youve been noodling onwhether its as simple as running some disposible scripts to crunch some numbers, or as extensive as creating a full-blown interactive web application.

All of the recipes in this book are written in Python, and if you are reasonably confident with any other programming language, youll be able to quickly get up to speed and become productive with virtually no trouble at all. Beyond the Python language itself, youll also want to be familiar with easy_install (http://pypi.python.org/pypi/setuptools) so that you can get third-party packages that well be using along the way. A great warmup for this ebook is Chapter 1 (Hacking on Twitter Data) from Mining the Social Web. It walks you through tools like easy_install and discusses specific environment issues that might be helpfuland the best news is that you can download a full resolution copy, absolutely free!

One other thing you should consider doing up front, if you havent already, is quickly skimming through the official Twitter API documentation and related development documents linked on that page. Twitter has a very easy-to-use API with a lot of degrees of freedom, and twitter (http://github.com/sixohsix/twitter), a third-party package well use extensively, is a beautiful wrapper around the API. Once you know a little bit about the API, itll quickly become obvious how to interact with it using twitter.

Finallyenjoy! And be sure to follow @SocialWebMining on Twitter or like the Mining the Social Web Facebook page to stay up to date with the latest updates, news, additional content, and more.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width bold

Shows commands or other text that should be typed literally by the user.

Constant width italic

Shows text that should be replaced with user-supplied values or by values determined by context.

Tip

This icon signifies a tip, suggestion, or general note.

Caution

This icon indicates a warning or caution.

Using Code Examples

This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.

We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: 21 Recipes for Mining Twitter by Matthew A. Russell (OReilly). Copyright 2011 Matthew A. Russell, 978-1-449-30316-7.

If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at .

Safari Books Online
Note

Safari Books Online is an on-demand digital library that lets you easily search over 7,500 technology and creative reference books and videos to find the answers you need quickly.

With a subscription, you can read any page and watch any video from our library online. Read books on your cell phone and mobile devices. Access new titles before they are available for print, and get exclusive access to manuscripts in development and post feedback for the authors. Copy and paste code samples, organize your favorites, download chapters, bookmark key sections, create notes, print out pages, and benefit from tons of other time-saving features.

OReilly Media has uploaded this book to the Safari Books Online service. To have full digital access to this book and others on similar topics from OReilly and other publishers, sign up for free at http://my.safaribooksonline.com.

How to Contact Us

Please address comments and questions concerning this book to the publisher:

OReilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
800-998-9938 (in the United States or Canada)
707-829-0515 (international or local)
707-829-0104 (fax)

We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at:

http://oreilly.com/catalog/9781449303167

To comment or ask technical questions about this book, send email to:

For more information about our books, courses, conferences, and news, see our website at http://www.oreilly.com.

Find us on Facebook: http://facebook.com/oreilly

Follow us on Twitter: http://twitter.com/oreillymedia

Watch us on YouTube: http://www.youtube.com/oreillymedia

Chapter 1. The Recipes
Using OAuth to Access Twitter APIs
Problem

You want to access your own data or another users data for analysis.

Solution

Take advantage of Twitters OAuth implementation to gain full access to Twitters entire API.

Discussion

Twitter currently implements OAuth 1.0a, an authorization mechanism expressly designed to allow users to grant third parties access to their data without having to do the unthinkabledoling out their username and password. Various third-party Python packages such as twitter (easy_install twitter) provide easy-to-use abstractions for performing the OAuth dance, so that you can easily implement client programs to walk the user through this process. In the case of Twitter, the first step involved is registering your application with Twitter at http://dev.twitter.com/apps where Twitter provides you with a consumer key and consumer secret that uniquely identify your application. You provide these values to Twitter when requesting access to a users data, and Twitter prompts the user with information about the nature of your request. Assuming the user approves your application, Twitter then provides the user with a PIN code for the user to give back to you. Using your consumer key, consumer secret, and this PIN code, you retrieve back an

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «21 recipes for mining Twitter»

Look at similar books to 21 recipes for mining Twitter. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «21 recipes for mining Twitter»

Discussion, reviews of the book 21 recipes for mining Twitter and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.