ios - Facebook login for Swift project -
i prompting users sign in through facebook obtain profile picture app's profile. code have requesting facebook sign in: func facebooksignin() { //current user that's logged in sign view let curruser = pfuser.currentuser() //create facebook session fbsession.openactivesessionwithreadpermissions(permission, allowloginui: true, completionhandler: { (session, status, error) -> void in fbrequestconnection.startformewithcompletionhandler {(connection, result, error) -> void in if error == nil { if result != nil && result.objectid != nil { //create column in parse called "facebookid" curruser!.setobject(result.objectid string, forkey: "facebookid") curruser!.saveinbackground() } } } } it worked fine before turned app development mode public. now, every time click "sign in on facebook...