org.apache.streams:streams-provider-twitter

streams-provider-twitter contains schema definitions, providers, conversions, and utility classes.

Data Types

Schema
Tweet.json Tweet.html
Retweet.json Retweet.html
User.json User.html
Delete.json Delete.html
UserstreamEvent.json UserstreamEvent.html
FriendList.json FriendList.html

Configuration

Schema
TwitterConfiguration.json TwitterConfiguration.html

Components

components

ClassConfigurationExample Configuration(s)
TwitterUserInformationProvider TwitterUserInformationProvider.htmlTwitterUserInformationConfiguration.json TwitterUserInformationConfiguration.htmluserinfo.conf
TwitterTimelineProvider TwitterTimelineProvider.htmlTwitterUserInformationConfiguration.json TwitterUserInformationConfiguration.htmluserinfo.conf
TwitterStreamProvider TwitterStreamProvider.htmlTwitterStreamConfiguration.json TwitterUserInformationConfiguration.htmlsample.conf
userstream.conf
TwitterFollowingProvider TwitterFollowingProvider.htmlTwitterFollowingConfiguration.json TwitterFollowingConfiguration.htmlfriends.conf
followers.conf

Test:

Create a local file application.conf with valid twitter credentials

twitter {
  oauth {
    consumerKey = ""
    consumerSecret = ""
    accessToken = ""
    accessTokenSecret = ""
  }
}

Build with integration testing enabled, using your credentials

mvn clean test verify -DskipITs=false -DargLine="-Dconfig.file=`pwd`/application.conf"

Experimental Features

JavaDocs

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