Hey, I was wondering if anybody could please give me a hand with Twitter4J in Processing as I'm getting error messages with my code. I've tried posting in the Integration Forum but nobody replied.
I'm trying to retrieve my latest status message and print them to the console, but when I try to run my code I get the error
"cannot convert from List<Status> to String"
This is my code:
Code:Twitter twitter;
String myTimeline;
User[] friends;
String username = "myUsername"; // add your own here
String password = "myPassword"; // add your own here
twitter = new Twitter(username,password);
myTimeline = twitter.getUserTimeline();
println(myTimeline);
}
}
Any help is greatly appreciated?
Thanks