[STE10003]报错:Callback URL not approved for this client application.
问题描述
报错:Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings.
解决方案
官方说明:https://developer.twitter.com/en/docs/basics/developer-portal/guides/callback-urls.html
解决:将 twitter的 url scheme 设置到 https://apps.twitter.com/app 的 setting 页中的 Callback URLs 即可。如 url scheme 为以下内容,则 设置 Callback URLs 为 twitterkit-AAAAAABBBBBBCCCCC://
<dict> <key>CFBundleURLSchemes</key> <array> <string>twitterkit-AAAAAABBBBBBCCCCC</string> </array> </dict>注意后面的 ://