Custom Facebook Login Button to logged into the iOS app.
Now a days most of the iOS apps provides "Login with Facebook" feature. Facebook also provides SDK for iOS platform, here we are getting logged into the iOS application using Facebook credentials.
Steps to follow:-
Create App in your Facebook account or open (https://developers.facebook.com/apps?ref=mb).
Go to App Details section >> App Center Listed Platforms section >> Click Configure app center permissions. and give all permissions.
In .plist of xcode project add three rows :- "FacebookAppID","FacebookDisplayName" and "URL types".
Download the Latest Facebook SDK from https://developers.facebook.com/docs/ios/ and run its setup.
Open your xcode project and go to Project Navigator >> Targets >> Build Phase.
Select Link Binary with Libraries then Click on '+'.
Click Add Other option >> Documents>> FacebookSDK>>FacebookSDK.framework, then click open.
0 Comment(s)