Model & analysis of tweet hops network in Twitter
time python twitter_streaming.py > ../data/twitter_stream.txt
Rarely it may throw an error. Don’t fret.
It simply means that our network is not fast enough to collect/fetch the data that twitter server is sending.
python fetch_stale_tweets.py -q "mars mission" -o "data/results.txt" -cnt 100 \
-from "2015-12-31" -to "2016-11-11"
python scatterPlotUserStatistics.py -i ../data/user_statistics.txt
python scatterPlot_groupAssign.py -i ../data/user_statistics_mars-mission.txt
time python complete_hop_algorithm.py -q "mars mission" -cnt 10000 -thresh 50000 \
-from "2015-12-31" -to "2016-11-25" -o all_results.txt
This last step alone is enough to see the result of tweet hops from group to group.
PS: Graph plotting code is yet to be added.