I use the library "twitter4j" to interface with Twitter API. I need to write log in code but i don't understand very well how i can do it. I must write an application where user can specify username and password and i must take this value(username and password) and log in Twitter. I find a lot of kind documentation but I don't understand how I must use it. In details I don't understand why I must create an application with twitter account like this:
http://xmeng.wordpress.com/2011/07/10/how-to-handle-sign-in-with-twitter-using-twitter4j/
I need to log in with username and password but the example on the web log in with CONSUMER KEY and CONSUMER SEGRET KEY can someone help me with some documentation?