skip to Main Content

unwrapping an Optional value

I am trying to login with macbook using code but I keep on getting this error: Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value // API to log an user in func login(userType: String, completionHandler: @escaping…

VIEW QUESTION

How to get user email id from Facebook

Why can't I get user mail id for Facebook? I have attached my code below. I have doubt in login and registration using API func getFacebookUserInfo() { if(FBSDKAccessToken.current() != nil) { //print permissions, such as public_profile print(FBSDKAccessToken.current().permissions) let graphRequest =…

VIEW QUESTION
Back To Top
Search