gpt4 book ai didi

Facebook iOS SDK - GitHub - 无法切换回调用应用程序

转载 作者:行者123 更新时间:2023-12-02 22:16:08 25 4
gpt4 key购买 nike

根据 GitHub 的说法,

If the app is running in a version of iOS that supports multitasking, and if the device has the Facebook app of version 3.2.3 or greater installed, the SDK attempts to open the authorization dialog withing the Facebook app. After the user grants or declines the authorization, the Facebook app redirects back to the calling app, passing the authorization token, expiration, and any other parameters the Facebook OAuth server may return.*

我的应用程序调用authorize:permissions:delegate:并且我的应用程序被暂停,Facebook应用程序启动并请求授权。在用户允许或禁止后,Facebook 应用程序仍保留在新闻提要中(不会返回到我的应用程序)。

问题:

  1. 是否可以授权或登录并返回我的应用程序?
  2. 我的应用程序如何检查授权和登录是否已完成并且无需再次重新执行?

最佳答案

我发现了这个。

在单点登录期间,Facebook 应用程序在用户授权后不会重定向回我的应用程序。怎么了?确保您已正确编辑应用程序的 .plist 文件,以便您的应用程序绑定(bind)到 fb[appId]://URL 方案(其中“[appId]”是您的 Facebook 应用程序 ID)。

我的应用程序可以切换:)

谢谢大家

关于Facebook iOS SDK - GitHub - 无法切换回调用应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4232357/

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