title: Sign-in with twitter using angular
body: <p>I am trying to implement singin functioanlity using angular2 , Read from official documentation also <a href="https://dev.twitter.com/web/sign-in/implementing" rel="nofollow noreferrer">from here</a> , But didn't get how the flow is going on. my questions are</p>
  
  <ol>
  <li>what are the parameters for accessing first step i.e outh_token ? </li>
  <li>is there any working example or best articles which teach the flow ? </li>
  <li>I have read number of questions on SO but none of them work for me.</li>
  </ol>
  
  <p>any suggestion will be appreciated.</p>
  
  <p>PS: as of now i am Hitting Post request on this URL</p>
  
  <pre><code>let url = 'http://twitter.com/oauth/request_token?oauth_callback=http%3A%2F%2Fgoogle.com%2Ftwittercallback&amp;oauth_consumer_key=my_consumer_key&amp;oauth_nonce=ea9ec8429b68d6b77cd5600adbbb0456&amp;oauth_signature=F1Li3tvehgcraF8DMJ7OyxO4w9Y&amp;oauth_signature_method=HMAC-SHA1&amp;oauth_timestamp=1318467427&amp;oauth_version=1.0';
  </code></pre>
  
  <p>But throwing error status code <code>307</code>.</p>
  
  <p>also i had tried using <strong><a href="https://www.npmjs.com/package/ng2-twitter" rel="nofollow noreferrer">ng2-twitter</a></strong> package but not working.</p>