Skip to content

Script that logs the networks of likes, mentions and retweets around one or a set of keywords on Twitter.

Notifications You must be signed in to change notification settings

ulfaslak/twitter_network_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

Worker script to run periodically for logging twitter interactions around a set of keywords.

Usage

Link data is pushed to a Github gist, where it can be easily accessed from e.g. web-based data visualizations. Tweet and user data are stored locally. To get started:

  1. Clone this repository.
  2. Create a gist on GitHub. It should only contain a dummy file (e.g. a short description of the dataset).
  3. Enter the data folder and do git init and git remote add origin <path_to_gist>.git.
  4. Cache github credentials: git config --global credential.helper "cache --timeout=<seconds>".
  5. Do git pull origin master to get the dummy file from the gist. Type in your credentials.
  6. Enter a screen session on a server.
  7. Execute the worker.py script with language and tag arguments. Example: python worker.py --tags obama,trump --langs en,da.

About

Script that logs the networks of likes, mentions and retweets around one or a set of keywords on Twitter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published