简体   繁体   English

未经我的iOS App使用FacebookSDK调用的FacebookApp上未授权

[英]Not authorization on FacebookApp, calling from my iOS App with FacebookSDK

I create an iOS app with Facebook SDK to use FB-login to authenticate. 我使用Facebook SDK创建了一个iOS应用,以使用FB登录进行身份验证。

The app was working on devices correctly. 该应用程序在设备上正常运行。

However, sometimes the app is NOT working well when using openWithCompletionHandler (Using FacebookSDK) in recent days. 但是,有时在最近几天使用openWithCompletionHandler(使用FacebookSDK)时,该应用程序无法正常运行。 I aware it last week (on Jul.5th). 我上周(7月5日)知道了。

The issue is that FBSession openWithCompletionHandler isn't calling the completion handler. 问题是FBSession openWithCompletionHandler没有调用完成处理程序。

Rountine to auth with FBApp on my app 1. My app need to login into Facebook for authorization. 在我的应用程序上通过FBApp进行身份验证1.我的应用程序需要登录Facebook进行授权。 2. Call 'openWithCompletionHandler' then open FacebookApp to auth 3. (*) Not authorization on FBApp, show up ordinary Facebook (appear user's feed). 2.调用“ openWithCompletionHandler”,然后打开FacebookApp进行身份验证。3.(*)未经FBApp授权,显示普通Facebook(显示用户供稿)。 4. Doesn't go back to my app. 4.不返回我的应用程序。

I'm bothering this issue. 我很困扰这个问题。 Actually, 3rd line (*), FacebookApp begin to authenticate my app and then callback with openWithCompletionHandler. 实际上,在第三行(*),FacebookApp开始对我的应用程序进行身份验证,然后使用openWithCompletionHandler进行回调。

Why sometimes it's not working well in recent days. 为什么有时在最近几天它不能很好地工作。 I have no idea. 我不知道。

Facebook SDK is really crappy. Facebook SDK确实很糟糕。 I used a Backend as a Service Provider as a workaround. 我使用后端作为服务提供者作为解决方法。 It's called apiomat Pretty easy and fast. 这就是所谓的apiomat

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

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