我试图在我的应用程序中使用twitter登录,但我遇到了一个错误
FirebaseProject[9536:57007] [TwitterKit]
Error obtaining user auth token.
error: Request failed: forbidden (403)
还有我的信息。普利斯特
和AppDelegate。敏捷的
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")