This repository has been archived by the owner on Nov 16, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
47 lines (36 loc) · 1.66 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
A mobile web enabled RichFaces 4.0 application supporting features
like device detection, CSS3 transitions, orientation support, and more.
----------------------
TweetStream Setup
-----------------------
- This application was made for JBoss AS 6 final.
- Configure twitter4j for API access
- See instructions below
- Build using standard maven commands: mvn package
- Deploy to JBoss AS 6 and start the server
- Copy /tweetstream/target/tweetstream.war to
$JBOSS_HOME/server/default/deploy
- Remember to start with the "./run.sh -b 0.0.0.0"
for access from other devices
- Access the application at http://localhost:8080/tweetstream
- Or from other devices at http://your.ip:8080/tweetstream
- May require firewall updated, etc..
----------------
Twitter4j Config
----------------
Everything is setup and configured for twitter4j except the API
credentials. We can not provide public credentials for accessing
twitter API's via twitter4j. This mean you will need to get and
create your own credentials following the twitter4j and twitter
instructions.
This is really not too hard, but does require some effort. Because
these steps change from time to time you should see
http://twitter4j.org/en/configuration.html and
https://dev.twitter.com/pages/auth for the details.
Once you have access to the values here:
oauth.consumerKey=**************************
oauth.consumerSecret=**************************
oauth.accessToken=**************************
oauth.accessTokenSecret=**************************
Update tweetstream/src/main/resources/twitter4j.properties with these
values. From there you should be able to build and run the application.