gpt4 book ai didi

android - 此客户端应用程序未批准回调 URL。在 Android-Firebase-TwitterLogin

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:19:16 24 4
gpt4 key购买 nike

我正在尝试在 android 应用程序中登录 firebase twitter,但出现此错误。

E/Twitter: Invalid json: <?xml version="1.0" encoding="UTF-8"?><errors><error code="415">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>

如果 firebase 和 app.twitter 回调 url 相同,则会出现此错误。如果我更改回调 url,它会起作用,但这次我在 firebase 控制台中看不到身份验证信息(用户电子邮件等)。我需要使用 https://appname.firebaseapp.com/__/auth/handler这在 app.twitter 上用于身份验证,但它给出了错误。提前感谢任何解决方案。

最佳答案

最新解决方案

只需在您的 Twitter 应用设置中添加 twittersdk:// 作为一个回调 URL https://apps.twitter.com/它会像魔法一样起作用。

关于android - 此客户端应用程序未批准回调 URL。在 Android-Firebase-TwitterLogin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51199158/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com