processing/twitter tutorial http://blog.blprnt.com/blog/blprnt/updated-quick-tutorial-processing-twitter twitter4j code http://twitter4j.org/en/index.html forum http://forum.processing.org/topic/twitter4j examples http://twitter4j.org/en/code-examples.html serial port exception handling http://blog.makezine.com/2011/01/05/codebox-handling-exceptions-in-proc/ streaming API vs search http://140dev.com/twitter-api-programming-tutorials/aggregating-tweets-search-api-vs-streaming-api/ C structs in java class http://www.cs.usfca.edu/~parrt/course/601/lectures/C-Java-relationship.html INSTALLATION download, unzip twitter4j install is manual: lib is lib/twitter4j-core-2.2.5.jar. 1 Rename this to twitter4j.jar. 2 In Processing/libraries create twitter4j 3 cd twitter4j 4 create dir library 5 put jar file there 6 (quit) run processing. 7 Sketch -> Import library should show twitter4j exact location is: Processing/libraries/twitter4j/library/twitter4j.jar OAuth created from dev.twitter.com OAuth settings Your application's OAuth settings. Keep the "Consumer secret" a secret. This key should never be human-readable in your application. Access level Read-only About the application permission model Consumer key cBmK5bUlPim2kj6yWLHyw Consumer secret QBdFoZ8SvcOx4MxORxuQNpSXxQ9rM1pWSlTmNCJ1zM Request token URL https://api.twitter.com/oauth/request_token Authorize URL https://api.twitter.com/oauth/authorize Access token URL https://api.twitter.com/oauth/access_token Callback URL None Your access token Use the access token string as your "oauth_token" and the access token secret as your "oauth_token_secret" to sign requests with your own Twitter account. Do not share your oauth_token_secret with anyone. Access token 596747403-5eS4gdt5U3yzRkzroWFcDVJABlVAhjB1roHkrwBx Access token secret 8oz8vmx4f2cnoe0D01nvgksslxLG2Lun324z6zn4 Access level Read-only