Verify_credentials returns 401 with include_email | how to get email from twitter api



I know Its is necessary that parameter added in request (verify_credentials) must be part of the ‘base’ in "signature’

my base (Parameter string) looki like this


notice: in the end “include_email” is added with value true
this parameter list will be part of the “Authorization” header as “oauth_signature=” ( after base64.encodeing)

final Authorization header look like this (With fake values)
OAuth oauth_consumer_key=“ZZZZZZZZZZZZZZZZ”,oauth_nonce=“RFhJCV”,oauth_signature_method=“HMAC-SHA1”,oauth_timestamp=“1510936416”,oauth_token=“UUUUUUUUUUUUUUU”,oauth_version=“1.0”,oauth_signature=“SIFAKEEEEEEEEEEEEE”

and url is this

Every time i execute the URL got 401, if i remove “include_email” works fine but no email in the response