On Dec 4, 5:23 am, "dean.j.robinson" <[EMAIL PROTECTED]>
wrote:
> According to the api docs you can pass an email address to the user/
> show method, I would assume that if a user didn't exist you'd get back
> a 404, which should allow you to determine whether or not the user
> exists.
>
> eg: http://twitter.com/users/[EMAIL PROTECTED]

that seems to work Dean.

[EMAIL PROTECTED]:~/projects$ curl http://twitter.com/users/[EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <request>/users/[EMAIL PROTECTED]</request>
  <error>Not found</error>
</hash>

vs a success

[EMAIL PROTECTED]:~/projects$ curl http://twitter.com/users/[EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8"?>
<user>
  <id>7291692</id>
  <name>Someone Who Exists</name>
  <screen_name>mrsreal</screen_name>
  ...

Reply via email to