title: Twitter - get user_id or screen_name querying by user e-mail
body: <p>I'm trying to get the user_id or screen_name querying per e-mails on Twitter.
  We have a website and also a database of users.  I have also all user's e-mail and I'd like to query if they have a Twitter account, and if so, get the screen_name or user_id....</p>
  
  <p>I've read all twitter api documentation and it seems that I can query user only per screen_name or user_id...</p>
  
  <p><a href="http://apiwiki.twitter.com/w/page/24142947/Twitter-REST-API-Method:-users-lookup" rel="nofollow">http://apiwiki.twitter.com/w/page/24142947/Twitter-REST-API-Method:-users-lookup</a><br />
  <a href="https://dev.twitter.com/docs/api/1/get/users/search" rel="nofollow">https://dev.twitter.com/docs/api/1/get/users/search</a></p>
  
  <p>Based on this query: api.twitter.com/1/users/lookup.xml?user_id=1401881,1401882</p>
  
  <p>I tried this: api.twitter.com/1/users/lookup.xml?email=[e-mail]
  Then I got this:
  "Client application is not permitted to search with specified terms"</p>
  
  <p>So it seems that Twitter knows this parameter "email" (otherwise it should show a error message)</p>
  
  <p>Any idea?</p>