Skip to content

viTweet visualizes twitter conversation histories.

License

Notifications You must be signed in to change notification settings

ashtree4711/viTweet

Repository files navigation

viTweet

viTweet is a webservice providing visualizations to better understand Twitter conversations with their Replies and Quote Tweets that follow a selected Tweet.

Program library Usage
Twython 3.7 Wrapper for Twitter API
Flask 1.0.2 Web framework
Jinja2 2.10 Template engine
D3.js v4 Graph visualization

Make sure to import all libraries or use the pipfile ('source/Pipfile') to install them!

How to use viTweet

Accessing the Twitter API

Running the application

  • Use an IDE like Eclipse (others have not yet been tested by us) to run the file 'app.py'

  • Run via command line

$ cd viTweet/source/ # Change to where the directory containing 'app.py' is located
$ export FLASK_APP=app.py
$ export FLASK_ENV=development # To run with debugger
$ flask run

Basic usage

  • Open the URL indicated in the console output in your brower (usually http://127.0.0.1:5000/)
  • Enter a Tweet URL or ID into the search bar
  • Try the different visualization options
  • List visualization list view list view
  • Graph visualization graph view
  • Export and import conversations
  • Export search result in different formats with the button at the top right of the results page
  • Import a file (type 'flat JSON') with the uploader at the bottom of the index page

Documentation

  • see comments in the respective files
  • see the Wiki for a more extensive documentation (in German)