简体   繁体   English

为什么 Facebook 登录不适用于我的即时应用程序?

[英]Why Facebook Login does not work with my instant app?

When I try to login on my Instant App which use the Facebook Login for Android library, the login is stucked within the Facebook flow, I am not able to get back to the app.当我尝试登录使用 Facebook 登录 Android 库的即时应用程序时,登录卡在 Facebook 流程中,我无法返回应用程序。 The login works when I use the full app.当我使用完整的应用程序时,登录有效。

It is not possible to use an other deep link that the one you use for the verified app link which launch your instant app.无法使用您用于启动即时应用程序的已验证应用程序链接的其他深层链接。 One way to resolve the problem is to parameterize the app link (using the query string) to trigger the different behaviours you want.解决问题的一种方法是参数化应用链接(使用查询字符串)以触发您想要的不同行为。

Then, Facebook Login for Android which use a deep link to get back to the app will not work, you need to change the oauth redirect uri used by the SDK by going to the Facebook developer console > Facebook Login > Settings. Then, Facebook Login for Android which use a deep link to get back to the app will not work, you need to change the oauth redirect uri used by the SDK by going to the Facebook developer console > Facebook Login > Settings. A solution to resolve the problem for Instagram is to use the API Graph for Instagram which also use Facebook Login.解决 Instagram 问题的一个解决方案是使用 API Graph for Instagram,它也使用 Facebook 登录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM