Skip to content

A java web crawler wrapping the Twitter Streaming API, written in Netbeans 7.3.1

Notifications You must be signed in to change notification settings

VisualComputingLab/Twitter_Crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Twitter_Crawler

A java web crawler wrapping the Twitter Streaming API, written in Netbeans 7.3.1

##Prerequisites:

The project can be directly opened in Netbeans, built and deployed on a Tomcat server.

Usage

The deployed service can be started as follows:

POST http://TOMCAT_SERVER:8080/Twitter_Crawler/resources/crawl

Content-Type: application/json

{

"command": "create",
"twitter":
{
  "consumerKey": CONSUMER_KEY,
  "consumerSecret": CONSUMER_SECRET, 
  "accessToken": ACCESS_TOKEN, 
  "accessTokenSecret": ACCESS_TOKEN_SECRET
},
"rabbit": 
{
  "host": RABBIT_HOST_IP,
  "queue": RABBIT_QUEUE_NAME_FOR_STORING_RESULTS
},
"keywords": ["thessaloniki", "salonica", "saloniki", "θεσσαλονίκη", "θεσσαλονικη", "selanik"]

}

The service can be stopped as follows:

POST http://TOMCAT_SERVER:8080/Twitter_Crawler/resources/crawl

Content-Type: application/json

{

"command": "remove",
"receipt": "last"

}

About

A java web crawler wrapping the Twitter Streaming API, written in Netbeans 7.3.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages