title: How do I convert a Twitter User ID to a Twitter Username
body: <p>I'm building an app in Rails that needs to convert a Twitter ID into the Twitter username. This is the code that pulls the ID.</p>
  
  <pre><code>url = 'http://twitter.com/' + params[:username]
  buffer = open(url, 'UserAgent' =&gt; 'irb').read
  @vouched_user_twitter_id = buffer[/\d+(?=\.rss)/]
  </code></pre>
  
  <p>How do I use that number to pull the username once I no longer have params.</p>