I am trying to modify some code to work with twitter4j v3.0.3...I've dragged and dropped the relevant twitter4j.jar file into my sketch (so it appears in a code folder). I keep getting a "cannot convert twitter to twitter" error when I try to run the code below. Any ideas?
// This is where you enter your Oauth info static String OAuthConsumerKey = "XXX"; static String OAuthConsumerSecret = "XXX"; // This is where you enter your Access Token info static String AccessToken = "XXXX"; static String AccessTokenSecret = "XXXX"; // Just some random variables kicking around String myTimeline; java.util.List statuses = null; User[] friends; TwitterFactory twitterFactory; Twitter twitter; RequestToken requestToken; String[] theSearchTweets = new String[11]; void setup() { size(100, 100); background(0); connectTwitter(); getTimeline(); getSearchTweets(); } void draw() { background(0); }
I've been having a look at some code at
http://forum.processing.org/topic/glow-effect-5-10-2010 and have modified so I can draw glowing ellipses on screen via mouseclicks. I am fairly new to processing and have tried turning this code into a class - but can't get it working...any help would be appreciated