Twitter OAuth on iOS

ios
oauth
swift
api

#1

Hello! I do registration on our server by Twitter OAuth Echo Headers. I can register well done, but when I send any request to our server I check our token is valid or not. If our toker is expired I do resign to our server, in this moment I request a new OAuth Echo Headers from Twitter but I get the old data and our server not find a twitter account of the current user. Our android team do it with help of the following functions TwitterCore.getInstance().getSessionManager().clearActiveSession(); TwitterCore.getInstance().logOut(); How can I do it on iOS? Please help me


#2

Closing out as a duplicate of this thread.


#3