With the help of processing forum I was able to refine my code for collecting tweets for a certain search word using Twitter 4j library. Here is the final script.... but I still have a limitation that this script only creates 100 latest tweets.
Can I increase the number to more than 100?
also Can I make the collection Time based....like for six hours or 24 hours? Kindly help me regarding this. The script is copied below.
i am working on this script using twitter 4j library to get data from twitter about a search word...but i want to add the geolocation i.e, the lattitude and longitude information of users also in the println. Can i write a new string for it. Please help me regarding this as it is not working for the geolocation and if i add here it gives error as class or function doesn't exist.