I am trying to get a user_id or screen_name request by email on Twitter. We have a website as well as a user database. I also have all user emails, and I would like to request if they have a Twitter account, and if so, get the instance_name or user_id ....
I have read all twitter api documentation and it seems that I can only request a user for the screen_name or user_id name ...
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 request: 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: "The client application is not allowed to search with the specified conditions"
So, it looks like Twitter knows this email parameter (otherwise it should show an error message)
Any idea?
source
share