Account/verify_credentials inconsistency fun

api

#1

Hello!

We recently gained access to our users’ email addresses via Twitter. Something that I’ve noticed is that while this: https://api.twitter.com/1.1/account/verify_credentials.json?skip_status=True is fine, this: https://api.twitter.com/1.1/account/verify_credentials.json?include_email=True is not. Using a lower-case true works for both. We encountered this inconsistency while using a popular Python library, hence the uppercase ‘T’.

Thanks,
Hazel


#2

Thanks! we’ve actually noticed thanks to sleuthing from @abraham and others that the include_email parameter needs to be a string, not a boolean. This is inconsistent and irritating, and I can’t do anything than offer an apology for the behaviour, but we’ve noted it and hope that we can reduce confusion in future.


#3