I'm having some problems with Processing Environment. I'm actually using Foursquare Java Library V2 (
https://code.google.com/p/foursquare-api-java/). This code is the basic example found in the project wiki page, but I can't figure out how to run it!
It gives me an error like this
Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: org/json/JSONException
I googled this kind of error and It's caused by a wrong definition of the java CLASSPATH.
Can anyone give me any hint. How I can fix it?
String id = "***";
String secret = "***";
String callback = "***";
public void searchVenues(String ll) throws FoursquareApiException {
// First we need a initialize FoursquareApi.
FoursquareApi foursquareApi = new FoursquareApi(id, secret, callback);
// After client has been initialized we can make queries.
Here is a sketch I have been using to do a geoLocation search using the twitter4j library. I'm tring to get all the possible tweets from a location focusing only on the coordinates of the tweet. My goal is to get the exact position of the people during the day using twitter.
I created a loop to make the query every 10,4 sec (in order not to reach the twitter-rate limit) but there's something wrong.
I've done some tests tweeting from within the query coordinates but I can't get these tweets back in the output code.