I need facebook login for my app.when i login through the Facebook it will redirect me to my app and also i need access token to be in console.Anyone can give me the code..i read many links but not getting.how to do this?? I am new to this so,some one can give me the code.please.
Share
I don’t really know every word you said. However, implementing Facebook login is as simple as importing the SDK and call the openSession() (or something like that). You can get it done in less than 30 minutes by following the Facebook SDK tutorial. It’s dead simple.\
You call to this simple method with your desired permissions. allowLoginUI should be YES so that a dialog will be displayed. You check for the state in your completion handler. If the state is FBSessionStateOpen, you can proceed with your Facebook requests.
There is no need to store Facebook token in the latest SDK.