Check if a Twitter user exists


#1

Hi,
Since the new Twitter API I can’t figure out how to use it. I’m looking for a script that would check if a Twitter user exists. Before I could use https://api.twitter.com/1/users/lookup.json?screen_name=xxxx I’d like the same thing pretty much with the new API.
Thanks


#2

Here is the new API. (Required authentication)

https://api.twitter.com/1.1/users/lookup.json?screen_name=xxxx

https://dev.twitter.com/docs/api/1.1/get/users/lookup