I’m having trouble retrieving the email address. I’ve gone through the process of requesting special authentication privileges (and I’ve received it). I have enabled “Request email addresses from users” within the Twitter app, as well as filled in links to the ToS and Privacy Policy. I’m not entirely sure what to do next. What do I need to do to retrieve the email address of the user?
Do I have to send a request to https://api.twitter.com/1.1/account/verify_credentials.json? I’ve tried this, but I keep getting back a “Bad authentication data.” error. I am including the Authentication header and “?include_entities=false&skip_status=1&include_email=true” query parameters.
I’m using NodeJS with passport-twitter. Passport-twitter requests user data using https://api.twitter.com/1.1/users/show.json (which succeeds), but this doesn’t return the email address. I’m using the same technique, but get a “Bad authenticated data.” error nonetheless.
Any help would be greatly appreciated.