I’m using Twitter kit in my ios application It used to return email after request, now out of nowhere it doesn’t work.
this is the error in console
“Request failed: unauthorized (401)” UserInfo={NSLocalizedFailureReason=Twitter API error : Invalid or expired token. (code 89), TWTRNetworkingStatusCode=401, NSErrorFailingURLKey=https://api.twitter.com/1.1/account/verify_credentials.json?skip_status=true&include_email=true, NSLocalizedDescription=Request failed: unauthorized (401)}
I had different error first I used it wasn’t requesting email, then after trying different solutions I had the above error. and when I login to my twitter account from my app email request screen doesn’t show.
I updated pod ‘TwitterKit’,’~> 3.1.0’, but the issue still the same.
I’m using swift 3.