/TwitterGraph

Visualization of the last 400 tweets from a users timeline. Just some processing tinkering

Primary LanguageJavaOtherNOASSERTION

TwitterGraph

TwitterGraph is a tiny Processing project that visualizes the 400ish last tweets from a timeline. See an example on my blog.

Warning

Please not that the code is very ugly and that didn't invest too much time in doing everything very efficient. Moreover I'm not too fond of Java ;)

Setup

1. Obtain Processing Processing

2. Put this projects code in your sketches directory

3. Get a Twitter API Key Get it from the developer site

4. Get an Oauth Token & Token Secret The token and the secret can be obtained by using the script from twitter4j. Read twitter4j-/bin/readme.txt for more information.

Once you have all the required parameters change the following lines in the code.


   cb.setDebugEnabled(true).setOAuthConsumerKey("Your Oauth Consumer Key");
   cb.setOAuthConsumerSecret("Your Oauth Consumer Secret");
   cb.setOAuthAccessToken("Your Oauth Access Token");
   cb.setOAuthAccessTokenSecret("Your Oauth Access Token Secret");
   cb.setUser("Your username");
   cb.setPassword("Your password");