Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error calling Twitter client for login logInWithViewController。error code = -999 #37

Open
wenyhooo opened this issue Jul 11, 2023 · 4 comments

Comments

@wenyhooo
Copy link

wenyhooo commented Jul 11, 2023

code:
` [Twitter.sharedInstance logInWithViewController:viewController completion:^(TWTRSession * _Nullable session, NSError * _Nullable error) {

    if (error) {
        WPLogInfoRelease(@"Twitter login error:%@", error);
        !callback ?: callback(error, nil, nil);
    } else {
        !callback ?: callback(nil, session.authToken, session.authTokenSecret);
    }

}];

`

error info
Twitter login error:Error Domain=NSURLErrorDomain Code=-999 "キャンセルしました" UserInfo={NSErrorFailingURLStringKey=https://api.twitter.com/oauth/request_token, NSErrorFailingURLKey=https://api.twitter.com/oauth/request_token, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <7949D7B1-2193-41AE-912F-630043C01544>.<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <7949D7B1-2193-41AE-912F-630043C01544>.<1>, NSLocalizedDescription=キャンセルしました}

In Japan region

@asterpang
Copy link

also same error, in china region

@zxgy
Copy link

zxgy commented Nov 16, 2023

I have encountered the same problem, is there a solution

@wenyhooo
Copy link
Author

Using v2

@HWdan
Copy link

HWdan commented Nov 30, 2023

Using v2

Hello, could you tell me more about how to solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants