2. How many friends/followers do I have?
Who am I following that is not following me
back?
Who is following me that I am not following
back?
Who are the friendliest and least friendly people
in my net work?
Who are my "mutual friends"?
Given all of my followers and all of their
followers, what is my potential influence if I get
ret weeted?
7. A Lean, Mean Data-
Collection Machine
401(Not Authorized), 503(Over
Capacity) Error
t witter module throws
TwitterHTTPError
Use try/except block
8.
9.
10.
11.
12.
13. Registering an app at http://
dev.t witter.com/apps/new
friend/follower data will return up to
5,000IDs per call
Users could retrieve up to 1,750,000 Ids
before rate limiting.(350 request/hour)
ID values seem to be in reverse
chronological order(the first->most
recently followed, the last-> the first
person you followed)
16. Redis : A Data
Structures Server
key-value store
Data structure ser ver that keys can
contain strings, hashes, lists, sets and
sorted sets.
make V=1
sudo make install
easy_install redis
redis-server
17. Redis : A Data
Structures Server
key-value store
Data structure ser ver that keys can
contain strings, hashes, lists, sets and
sorted sets.
make V=1
sudo make install
easy_install redis
redis-server
20. Souping Up the Machine
with Basic Friend/
Follower Metrics
21.
22.
23.
24.
25.
26. Who isn't
following me back?
following -> 663 < 100*7
follower -> 1,423,704 < 100*350*41
Randomly sample and calculate
measures of statistical significance ->
srandmember
31. Measuring Influence
One trivial way to measure the relative
influence of t wo or more users is to
simply compare their number of
followers.
MAVENS - well connected and like to
share information.
39. Clique Detection and
Analysis
An analysis of the similarity/diversity
of t weet content among members of a
large clique would be a very worthy in
t weet analysis
lean and mean &#xAE30;&#xB97C; &#xC4F0;&#xACE0;, &#xB208;&#xC5D0; &#xBD88;&#xC744; &#xBC1D;&#xD788;&#xACE0;,\n