iOS应用程序与Parse未显示在Facebook App Settings& Facebook登录后的权限

时间:2015-11-26 07:19:18

标签: ios objective-c facebook swift parse-platform

我已经使用以下脚本点击按钮,使用Parse实现了Facebook登录: -

    var permissions = ["public_profile", "email"]

    PFFacebookUtils.logInInBackgroundWithReadPermissions(permissions) {
        (user: PFUser?, error: NSError?) -> Void in
        if let user = user {
            if user.isNew {
                print("User signed up and logged in through Facebook!")

                let grapthRequest = FBSDKGraphRequest(graphPath: "me", parameters: ["fields": "id,name,gender"])
                grapthRequest.startWithCompletionHandler({ (connection, result, error) -> Void in

                    if error != nil
                    {
                        print(error)
                    }

                    else if let result = result
                    {
                        print(result)
                    }

                })
                self.performSegueWithIdentifier("showTabs", sender: self)

            } else {
                self.performSegueWithIdentifier("showTabs", sender: self)
                print("User logged in through Facebook!")
            }
        } else {
            print("Uh oh. The user cancelled the Facebook login.")
        }
    }

一切正常,但该应用并未在我的Facebook应用设置页面上显示。这意味着该应用程序始终是授权的,我无法删除权限?为什么会这样?

enter image description here

0 个答案:

没有答案