Skip to content

Creating a gexf graph file from a twitter search term....

Notifications You must be signed in to change notification settings

mihi-tr/twsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twsearch

A Clojure script to dump twitter searches into graphs - works well for active hashtags.

Usage

  lein run <term> <number of searches> outfile.gexf

If you don't want leiningen, grab the jarfile and run with

java -jar twsearch.jar <term> <number of searches> outfile.gexf

term is the term you search for (e.g. the hashtag).

number of searches is the number of times you want to do the search (each search has a delay of 20seconds, so this roughly defines how long you search and how many tweets you'll get). 0 searches forever.

The 20 second delay is to avoid hitting twitter rate limits (yes this is crude but works). The outfile is updated every 20 seconds or so with the new results.

License

Copyright © 2013 Michael Bauer

Distributed under the Eclipse Public License, the same as Clojure.

About

Creating a gexf graph file from a twitter search term....

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published