Skip to content

Commit

Permalink
Removing key.
Browse files Browse the repository at this point in the history
Former-commit-id: 63392d1d74f7d920a770ccd16d1126a5a0d01b70 [formerly 63392d1d74f7d920a770ccd16d1126a5a0d01b70 [formerly 7e98614]]
Former-commit-id: 707f44f
Former-commit-id: d6e9277
  • Loading branch information
blprnt committed Sep 29, 2014
1 parent 91ff801 commit fe7d575
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 2_Text_and_Archive/Code/TweetMarkov/TweetMarkov.pde
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ void setup() {
size(1280,720,P3D);

markov = new RiMarkov(2);
markov.loadFile(sketchPath + "/data/tweets.txt");
markov.loadFile("../../data/mobydick.txt");
}

void draw() {
Expand Down
10 changes: 5 additions & 5 deletions 2_Text_and_Archive/Code/TwitterPull/TwitterPull.pde
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PrintWriter writer;
boolean tweeted = false;

//This is the phrase we're looking for
String phrase = "hong kong";
String phrase = "selfie";
//This is how many tweets we're collecting
int max = 1000;
//counter for Tweets
Expand All @@ -37,10 +37,10 @@ void setup() {
//Initiate a configuration builder with our OAuth info.
ConfigurationBuilder cb = new ConfigurationBuilder();

cb.setOAuthConsumerKey("JBFDbODYXiRFpJWerIJCV2g3y");
cb.setOAuthConsumerSecret("4vd4xfhTP4T6QzR0xTUMtCbmse2sopIsT6YlFrg2sNthouYakh");
cb.setOAuthAccessToken("17013577-3kqdwNqWmH7eiIn1MuG7FNByCYwOTAMGbEz1pOFh0");
cb.setOAuthAccessTokenSecret("tcX7oWYF7oUpTNM5M12M8Fg3e1YDxB1PXL4xq5Ube1sZq");
cb.setOAuthConsumerKey("KEY");
cb.setOAuthConsumerSecret("SECRET");
cb.setOAuthAccessToken("KEY");
cb.setOAuthAccessTokenSecret("SECRET");

//Request a Twitter Stream
TwitterStream twitterStream = new TwitterStreamFactory(cb.build()).getInstance();
Expand Down

0 comments on commit fe7d575

Please sign in to comment.