In my iOS application, i am integrate twitter login using fabric framework “TWTRComposer”. it is working fine when first time login and post t
Removing cookies - doesnt help.
I invent my own flow for relogin:
(I need user email to further login so only WebBasedLogin)
// Get first twitter acc (check if it exists etc...)
.....
// This method will be used if user the same
TWTRLoginMethod loginMethod = TWTRLoginMethodSystemAccounts;
// Check if it is the Previous twitter user (whom was stored in userDefaults)
if (![[STLUserDataManager lastTwitterUser] isEqualToString:[firstTwitterAccount username]])
{
// if user is new - ForceLogin
loginMethod = TWTRLoginMethodWebBasedForceLogin;
}
// inside completion
{
...
// Store userName in userDefaults
[STLUserDataManager storeTwitterUser:[firstTwitterAccount username]];
}