I am trying to use twitter4j to login user's userid and password. I found a class BasicAuthorization which allows to login using userid and pasword. But what now? After login how to access tweets?
Twitter stopped supporting Basic Authentication in the Twitter API for a long time, so you must use OAuth.
For more information, you can see Twitter4J 2.2.5 changelog.
· retirement of Basic authentication (TFJ-560)