The Code necessary to extract tweets from the Twitter API and produce a csv file that can be imported on Gephi to visualize a network
mkdir your_project
cd your_project
virtualenv --python=python3 .
source /bin/activate
pip3 install -r requirements.txt
Run python3 fetch.py
(this might take a while depending on what you are fetching)
Run python3 edges.py
File -> Import Spreadhsheet...
In the Statistics, in the Context Tab, run Modularity and Statistical Inference
In the Overview tab, under Appearance, select Nodes and Partition and click Apply
Choose a Layout and click Run
When running the layout, your graph might go out of canvas. Don't worry.
You can stop the run, and choose "Contraction" and run that, and it will zoom out.
The same applies if your visualization is too small. Click "Expansion" and it will zoom in
Experiment. Experiment. Experiment. The more data you have the more complex your visuazliation might look. Use the overview to detect important information (and make screenshots of it)