Our users log into our app using the traditional un/pw approach but have the option of linking their account with a Twitter account for easy shares. Is it possible to save their access tokens so that the next time they login I can automatically create a Twitter session for them without having them go through the authentication flow?
TWTRSession has a method that appears to offer this functionality: initWithSessionDictionary
But I cannot get it to work. I tried creating a dictionary using data from an existing session (authToken, authTokenSecret, userID, userName) but got the following error:
[TwitterKit] initWithAuthToken:authTokenSecret: Invalid parameter not satisfying: authToken