Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8755257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:49:02+00:00 2026-06-13T13:49:02+00:00

My app uses the facebook login to authenticate the users, I heard about the

  • 0

My app uses the facebook login to authenticate the users, I heard about the facebook integration become inside the iOS SDK itself,

now if the integration become inside the iOS itself can i use it to login without importing the facebook SDK and how if yes? also my app will run the iOS 6 as a release target ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:49:04+00:00Added an answer on June 13, 2026 at 1:49 pm

    Well, First of all you have to add the Social.framework in to your project.

    Step 2 : You need to import two classes.Import the needed classes.

    #import <Social/Social.h>
    #import <Accounts/Accounts.h>
    

    Step 3 : I am going forward in the assumption that you have a button for Facebook in your app. At the button click write these lines. You are done. 🙂

    - (IBAction)facebookButtonClicked:(id)sender
    {
        if([SLComposeViewController isAvailableForServiceType: SLServiceTypeFacebook])
        {
            // Facebook Service Type is Available
    
            SLComposeViewController *slVC   =   [SLComposeViewController composeViewControllerForServiceType: SLServiceTypeFacebook];
            SLComposeViewControllerCompletionHandler handler    =   ^(SLComposeViewControllerResult result)
            {
                if (result == SLComposeViewControllerResultCancelled)
                {
                    NSLog(@"Cancelled");
    
                }
                else
                {
                    NSLog(@"Done");
                }
    
                [slVC dismissViewControllerAnimated:YES completion:Nil];
            };
            slVC.completionHandler          =   handler;
            [slVC setInitialText:@"Test Post from iOS6"];
            [slVC addURL:[NSURL URLWithString:@"http://www.apple.com"]];
            [slVC addImage:[UIImage imageNamed:@"someimage.png"]];
    
            [self presentViewController:slVC animated:YES completion:Nil];
        }
        else
        {
            NSLog(@"Service Unavailable!!!");
        }
    }
    

    The above given is the basic steps. For more you can refer This.

    Edit : For Facebook user information refer this answer.

    Happy Coding. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A little background info; I'm making an iOS App that uses facebook integration. I
I have an existing asp.net web app that uses facebook to authenticate users. I
I have an app that uses facebook connect. When it has to login to
I am building an android app that uses facebook connect for users to log
My app uses Facebook Javascript SDK authorization on client side, and for authorized user
Our app uses the PHP- aswell as the JS-SDK of Facebook. We are able
I was developing app which uses Facebook API authentication for user login. But sometimes
I have an app deployed on Goole's Play Store that uses Facebook SSO login.
I'm currently working on an iOS application that uses Facebook for login and wants
My facebook app uses the Facebook C# SDK to publish to a user's Facebook

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.