This is a tool for collecting data from Twitter. Currently the focus is on egocentric networks. After collecting and caching the data, this tool can output the data in .gexf format for visualization.
- networkx
- simplejson
- nose
-
Clone the repository
-
Go into the local copy
cd poll.emic
-
Install. Currently
python setup.py develop
-
Add a configuration file
config.cfg
in the top level directory of your working copy. Include the app credentials that you got from the Twitter API. See here for a sample configuration file.
For one application of this, try running the mentionball.py script.
python bin/mentionball.py @twitter
This should start crawling a mentionball centered on a particular Twitter user.