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....
I've read all twitter api documentation and it seems that I can query user only per screen_name or user_id...
http://apiwiki.twitter.com/w/page/24142947/Twitter-REST-API-Method:-users-lookup
https://dev.twitter.com/docs/api/1/get/users/search
Based on this query: api.twitter.com/1/users/lookup.xml?user_id=1401881,1401882
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"
So it seems that Twitter knows this parameter "email" (otherwise it should show a error message)
Any idea?