iosiphoneswiftfacebookfbsdkloginkit

Unable to Login Using Facebook SDK IOS Swift


I am following This tutorial but i am stuck at a point. after following all the steps mentioned when i click the login button i get this error i have also attached image of my Plist i searched for the answer and most of the solutions are talking about url in the BAsic Settings of my app. but i do not get it because i do not want to redirect to any url i just want to load the user name image of the user as per tutorial.

After achiving this i want to fetch user's information like its email address, date of birth etc

thanks in advance

enter image description here


Solution

  • Thanks everyone, everything else was okay but i forgot to add bundle identifier in settings. So I added a plateform "IOS" and gave my budle id there and it worked for me