pournaki / twitter-explorer

A framework for observing Twitter through interactive networks.
GNU General Public License v3.0
69 stars 26 forks source link

twitter explorer

An interface to explore Twitter data through interactive network visualizations.

Features

The twitter explorer helps computational social scientists to:

Quick start

The twitter explorer requires Python ≥ 3.7. If you meet this requirement, open a terminal and run:

$ pip install twitterexplorer

You can now run the collector and the visualizer that will open in a new browser tab:

$ twitterexplorer collector
$ twitterexplorer visualizer

Since v.0.6.0, the twitter-explorer can also be used as a Python package. Please have a look at the examples here.

Getting started

Please refer to the documentation for detailed installation instructions and how to use the twitter explorer.

Screenshots

explorer

Data protection

The twitter explorer facilitates the collection of data through the Twitter Search API. Please respect the developer agreement when handling the collected data. Our interface includes a privacy option that allows to remove all accessible metadata of users that have less than 5000 followers (no public figures) from the interactive visualization in order to comply with current privacy standards. By only displaying tweets that still exist at the time of exploration, the interface complies with Twitter's display requirements.

Future development

Common errors

Error: StreamlitAPIException due to an outdated version of Streamlit
Fix: pip3 install streamlit --upgrade

Error: AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
Fix: pip3 install protobuf --upgrade

How to cite

Pournaki, A., Gaisbauer, F., Banisch, S., & Olbrich, E. (2021). The Twitter Explorer: A Framework for Observing Twitter through Interactive Networks. Journal of Digital Social Research, 3(1), 106–118. https://doi.org/10.33621/jdsr.v3i1.64

Related software

About

The idea for the twitter explorer originated from fruitful discussions in the context of the Odycceus project between Armin Pournaki, Felix Gaisbauer, Sven Banisch and Eckehard Olbrich. The tool is designed and developed by Armin Pournaki.

Acknowledgements

The twitter explorer stands on the shoulders of giants:

Funding

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 732942.

License

The twitter explorer is licensed under the GNU GPLV3 license.