mattdonnelly / Swifter

[DEPRECATED] :bird: A Twitter framework for iOS & OS X written in Swift
MIT License
2.37k stars 388 forks source link

iOS login with twitter has error: CredStore - performQuery - Error copying matching creds #355

Open phungbuuquang opened 2 years ago

phungbuuquang commented 2 years ago
  self.swifter = Swifter(consumerKey: Constants.TWITTER_CLIENT_KEY, consumerSecret: 
  self.swifter.authorize(withCallback: URL(string: "myApp://")!, presentingFrom: self, success: { accessToken, _ in
            print(accessToken)
        }, failure: { _ in
            print("ERROR: Trying to authorize")
        })

I also added callback_url is "myApp://" on developer.twitter.com. But It's throw error: CredStore - performQuery - ``` Error copying matching creds. Error=-25300, query={ class = inet; "m_Limit" = "m_LimitAll"; ptcl = htps; "r_Attributes" = 1; sdmn = "https://api.twitter.com"; srvr = "api.twitter.com"; sync = syna; }

namnvsskpi commented 2 years ago

same problem i had wrong key