com.facebook.sdk.core错误8 [英] com.facebook.sdk.core error 8

查看:246
本文介绍了com.facebook.sdk.core错误8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这比任何事情都更有用。在调试我的ios应用程序时尝试访问登录提示(aka safari)时,我无法在错误代码8上找到任何内容。在我的应用程序中点击登录到facebook按钮后,它会尝试打开safari,然后将我转回到我的应用程序的登录页面。该错误是由权限数组引起的。我获得了public_profile的许可,拼写了公开资料,这显然是一个错误。因此,如果您收到com.facebook.sdk.core错误8,请确保您的权限已更正。

This is more informative than anything. I couldn't for the life of me find anything on error code 8 when trying to access the login prompt (aka safari) when debugging my ios app. After I hit the log into facebook button in my app it would attempt to open safari then dump me back to the login page to my app. The error was being caused by the permissions array. I had the the permission "public_profile" spelled "public profile" which was throwing an error obviously. So make sure your permission are type corrected if you get the com.facebook.sdk.core error 8.

希望能帮到某人。

推荐答案

确保您的权限输入正确

   func loginButton(loginButton: FBSDKLoginButton!, didCompleteWithResult result: FBSDKLoginManagerLoginResult!, error: NSError!) {

            if error == nil {
                println("login complete")
                self.performSegueWithIdentifier("showLogin", sender: self)

            }else{

                println(error.localizedDescription)
    //com.facebook.sdk.core error 8.
            }
        }

这篇关于com.facebook.sdk.core错误8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆