Skip to content

Scripts to collect data from Twitter API and build a graph from user relations.

License

Notifications You must be signed in to change notification settings

j-ros/twitter-graph-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Twitter Graph Builder

Author: Jesús Ros Solé

Objective

The objective of this project is to obtain a graph representation of data extracted from Twitter. Data is stored in a MongoDB local database for processing.

The project is developed in Python3 and uses the following external libraries:

  • json
  • MongoClient, from PyMongo
  • tweepy
  • networkx

Content

  • src
    • streamer.py: Python script that captures data from a Tweeter Stream and stores the data in a local MongoDB database.
    • graph_builder.py: Python script that fetches data from a local MongoDB database and builds a graphml file with the resulting directed graph with weights, taking replies, quotes and retweets as relations.
  • LICENCE: license file under which this work is released.
  • README.md: this file.

About

Scripts to collect data from Twitter API and build a graph from user relations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages