twitter-follow-graph

Requirements:

  • Authorized Twitter API credentials
  • A running Neo4J 1.9.0+ instance

Description:

Collects friend or follower connections for a set of twitter users to build a graph database in neo4j.

Specification:

TwitterFollowGraph.dot

Diagram:

TwitterFollowGraph.dot.svg

Example Configuration:

testGraph.json

Build:

mvn clean package verify

Run (Local):

java -cp dist/twitter-follow-graph-jar-with-dependencies.jar -Dconfig.file=file://<location_of_config_file> org.apache.streams.example.graph.TwitterFollowGraph

Deploy (Docker):

mvn -Pdocker -Ddocker.repo=<your docker host>:<your docker repo> docker:build docker:push

Run (Docker):

docker run twitter-follow-graph java -cp twitter-follow-graph-jar-with-dependencies.jar -Dconfig.url=http://<location_of_config_file> org.apache.streams.elasticsearch.example.TwitterFollowGraph

JavaDocs

Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0