Skip to content

gdfm/twitter-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

twitter-crawler

Crawler for the social network of Twitter.

To launch the crawler, compile it.

mvn package

Configure the environment with your Twitter API keys for Twitter4j.

export JAVA_OPTS="-Dtwitter4j.oauth.consumerKey=XXXXXXXXXXXXXXXXXXXXXX -Dtwitter4j.oauth.consumerSecret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -Dtwitter4j.oauth.accessToken=XXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -Dtwitter4j.oauth.accessTokenSecret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

Then launch it.

sh target/appassembler/bin/crawl input.txt output.csv

The input.txt file should contain one user ID per line.

About

Crawler for the social network of Twitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages