Email doesn't return anymore



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=, 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.


HI @TabulaRasaMe,

I would first double check that you have read/write permission as well as email permissions in your TwitterKit settings at under the “Permissions” tab. If that’s all in order do you mind sharing the code snippet you are using to make the two requests?


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.