Hello there,
I have been struggling for a while to try and get a user’s email address after getting an access token through the account/verify_credentials endpoint.
No matter what I do, the request’s response will not include the desired email field.
According to documentation, it should at least be there and contain null, but that is not the case.
Otherwise, the response looks fine and it also respects the other url parameters I pass in.
My full request looks like this:
https://api.twitter.com/1.1/account/verify_credentials.json?include_email=true&include_entities=false&skip_status=true
I already saw that putting include_email=1 creates problems, so I made sure the request uses true (the string) instead.
The app is also authorized to fetch a user’s email address as far as I can see, since it requests permissions to access the email address through the oauth dialog (see here: https://i.imgur.com/53MjjWc.png).
The oauth access token used is also a fresh one.
There must be something obvious that I am missing.
Any help is greatly appreciated.