Get twitter access key without using web to get PIN

oauth
api

#1

I’ve implemented a desktop application to post on twitter on behalf of user.
I’ve created an application on twitter for getting ConsumerKey and ConsumerSecret.
The workflow that I’ve implemented successfully is:

  1. Getting a token key from twitter
  2. Using this token key open a web browser and request user to login and approve for the app and then getting a PIN code
  3. Using PIN code received from user to get access key
  4. Using access key to post a tweet or other thing

The question I want to ask here is:
With the token from step 1, username and password of the user: could we create a request to twitter for getting the PIN code without loading login website ?