title: Twitter hardcode login details
body: <p>What I am trying to do is as follows:</p>
  
  <pre><code>t_username = 'XXXXX';
  t_password = 'XXXXX';
  app_key = 'XXXXX';
  app_secret = 'XXXXX';
  
  function login(uname, pword, key, secret) {
    /* Returns something like: [access_token, token_secret] */
  }
  
  toks = login(t_username, t_password, app_key, app_secret);
  
  /* Use the 'toks' to make API calls */
  </code></pre>
  
  <p>I have tried looking at some sample codes but they deal in URL(s) and re-directions etc. but they are relevant for a browser app, I am trying to build something like a CLI app.
  I do not know how to do it. </p>