iOs Twitter登录(快速)获取用户身份验证令牌时出错。错误:请求失败:禁止(403)

时间:2020-03-11 12:32:33

标签: ios swift twitter firebase-authentication

我正在尝试在应用程序中使用Twitter登录,但出现错误

FirebaseProject[9536:57007] [TwitterKit]
Error obtaining user auth token.
error: Request failed: forbidden (403)

Console log

和我的info.plist

info.plist

和AppDelegate.swift

     func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
       return TWTRTwitter.sharedInstance().application(app, open: url, options: options)
    }
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

        Thread.sleep(forTimeInterval:3)
        IQKeyboardManager.shared.enable = true
        FirebaseApp.configure()
        TWTRTwitter.sharedInstance().start(withConsumerKey:"4-----L", consumerSecret:"bc----------------------b")

找不到,我怎么了。

0 个答案:

没有答案
相关问题