Closed romanzipp closed 8 years ago
Has the user you're querying validated their email?
I dont't know. Is there a way to find this out?
Presumably if you're requesting OAuth tokens, you should have some form of contact with the user. If not, register a new account and test it?
I tested it out in the moment you replied. It seems that it's like you said that the email field is null
if the user hasn't verified his email.
This should be added to the documentation.
Pull request #336 addresses this.
In some cases the
https://api.twitch.tv/kraken/user
endpoint is returning the Email asnull
although a validaccess_token
is transfered. Theuser_read
scope is also present.When using the same access token with scopes
user_read
anduser_subscriptions
https://api.twitch.tv/kraken/user
is still returing null email buthttps://api.twitch.tv/kraken/users/<user>/subscriptions/<target>
is not returning an authorization error.Here are some example responses:
Valid Email field
null
Email field