Twitter OAuth on iOS



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


Closing out as a duplicate of this thread.