FBSDKLoginManager with FBSDKLoginBehaviorWeb failing with “Not Logged In” error

瘦欲@ 提交于 2019-11-28 11:55:20
andersryanc

I was having this same bug... seems as though the issue lies in your info.plist URL Scheme settings: Facebook SDK: app not registered as a URL Scheme

However, adding these leads to the app sending you off to the actual Facebook app for authentication, instead of showing the login modal in your own app.

** UPDATE **

Sorry, I spoke too soon... the above changes will help things out (or change the user flow in ways you don't want), but what really needed to happen (and this is the only thing), was just adding an "iOS Platform" (or other) to your app settings in the Facebook Developer portal. This is what did it for me anyways. :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!