Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Login with Facebook using custom login button in iOS

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1.75k
    Comment on it

    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:-

    1. Create App in your Facebook account or open (https://developers.facebook.com/apps?ref=mb).
    2. Go to App Details section >> App Center Listed Platforms section >> Click Configure app center permissions. and give all permissions.
    3. In .plist of xcode project add three rows :- "FacebookAppID","FacebookDisplayName" and "URL types".
    4. Download the Latest Facebook SDK from https://developers.facebook.com/docs/ios/ and run its setup.
    5. Open your xcode project and go to Project Navigator >> Targets >> Build Phase.
    6. Select Link Binary with Libraries then Click on '+'.
    7. Click Add Other option >> Documents>> FacebookSDK>>FacebookSDK.framework, then click open.
    8. See the attached code files for more help.

    Happy Coding....!!!

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: