I'm trying to configure twitter4j to stream tweets
Now I want to know how to configure it ( http://twitter4j.org/en/configuration.html)
The first way :
Save a standard properties file named "twitter4j.properties". Place it to either the current directory, root of the classpath directory.
I'm using netbeans and want to know the file type I should choose when I create properties file and where exactly I have to place it?
Answer to your questions:
twitter4j.properties
classpath
. Just be sure the folder is in the classpath
, thats what needs to be taken care of.