User login with iOS TwitterKit versus User login with Account Activity API

oauth

#1

Need direction with the timeline and I would prefer to have access to user-timeline and home-timeline.

With iOS TwitterKit, I am experiencing instability; connections are dropping creating a lot of issues with login.
I am getting errors on and off in my app. I realized TwitterKit is no longer supported by Twitter since October 2018.

For more stability, I was thinking to use Account Activity API and get the user-timeline via Webhook.
Question:
Is the user login with Account Activity API more stable than the user login with Rest API iOS TwitterKit (TWTRLogInButton)?

My whitelist call is set on Twitter development with the call back URL:
twitterkit-CONSUMERKEY://
Question: Is twitterkit-CONSUMERKEY:// a valid callback?

Below is some information on the errors received regarding instability in the login.

Using the TWTRLogInButton, after clicking on the Twitter Login button and then clicking on the connect button at the button of the page. ( we are in a Twitter environment)

I can log in correctly into the user account but only the 1/3 of the time and below are the errors I am getting:

Not sure about the meaning of the errors.

If the error occurs then the Twitter web login is displayed which asked username & password.

I did not work on saving a session, yet.

2018-12-16 17:35:35.495349-0800 SaveTweets[964:80226] [BoringSSL] nw_protocol_boringssl_error(1584) [C1.1:2][0x141d1dde0] Lower protocol stack error: 53
2018-12-16 17:35:35.536853-0800 SaveTweets[964:80226] TIC Read Status [1:0x283309c80]: 1:53
2018-12-16 17:35:35.545405-0800 SaveTweets[964:80226] TIC Read Status [1:0x283309c80]: 1:53
2018-12-16 17:35:35.617198-0800 SaveTweets[964:80226] Task <779942BC-6342-4371-9453-E2210F331320>.<2> HTTP load failed (error code: 53 [1:53])
2018-12-16 17:35:35.632910-0800 SaveTweets[964:80452] Task <779942BC-6342-4371-9453-E2210F331320>.<2> finished with error - code: 53
2018-12-16 17:35:35.633309-0800 SaveTweets[964:80223] [TwitterKit] Cannot verify session credentials.
2018-12-16 17:35:38.456252-0800 SaveTweets[964:80470] WF: === Starting WebFilter logging for process SaveTweets
2018-12-16 17:35:38.456512-0800 SaveTweets[964:80470] WF: _userSettingsForUser mobile: {
filterBlacklist = (
);
filterWhitelist = (
);
noOverridingAllowed = 1;
restrictWeb = 1;
useContentFilter = 0;
useContentFilterOverrides = 0;
whitelistEnabled = 0;
}
2018-12-16 17:35:38.457257-0800 SaveTweets[964:80470] WF: _WebFilterIsActive returning: NO

If the above error occurs then the user get a the Twitter web login displayed which asked username & password.
And after entering the username and password I might get the following error. Not all the time.

Error Domain=TwitterAPIErrorDomain Code=99 “Request failed: forbidden (403)” UserInfo={NSLocalizedFailureReason=Twitter API error : Unable to verify your credentials (code 99), TWTRNetworkingStatusCode=403, NSErrorFailingURLKey=https://api.twitter.com/oauth2/token, NSLocalizedDescription=Request failed: forbidden (403)}
Error Domain=TwitterAPIErrorDomain Code=99 “Request failed: forbidden (403)” UserInfo={NSLocalizedFailureReason=Twitter API error : Unable to verify your credentials (code 99), TWTRNetworkingStatusCode=403, NSErrorFailingURLKey=https://api.twitter.com/oauth2/token, NSLocalizedDescription=Request failed: forbidden (403)}