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 8675787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:01:52+00:00 2026-06-12T20:01:52+00:00

Is it possible to use the built-in iOS 6 Facebook integration to get the

  • 0

Is it possible to use the built-in iOS 6 Facebook integration to get the user’s basic info (email address, birthday, etc)? All of the documentation/examples I have seen use the iOS 6 integration to simply open an SLComposeViewController.

Thank you for your time.

  • 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-12T20:01:52+00:00Added an answer on June 12, 2026 at 8:01 pm

    Please check out my sample project. It allows you to upload video to Facebook, but it also includes a method to get your info, you should look at the file ViewController.m, the one noted “Native” in the tab controller.

    https://bitbucket.org/danielphillips/fb-video-upload

    You will need to import the Social and Accounts frameworks to do what you want. You request access to the users Facebook account from the ACAccountStore, if you are granted access, then you use this account to create an SLRequest with the parameters you want, here you want the graph object “/me”.

    Properties:

    @property (nonatomic, retain) ACAccountStore *accountStore;
    @property (nonatomic, retain) ACAccount *facebookAccount;
    

    Authenticate:

    - (IBAction)getMeButtonTapped:(id)sender {
        if(!_accountStore)
            _accountStore = [[ACAccountStore alloc] init];
    
        ACAccountType *facebookTypeAccount = [_accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook];
    
        [_accountStore requestAccessToAccountsWithType:facebookTypeAccount
                                               options:@{ACFacebookAppIdKey: @"483616868329082", ACFacebookPermissionsKey: @[@"email"]}
                                            completion:^(BOOL granted, NSError *error) {
                                                if(granted){
                                                    NSArray *accounts = [_accountStore accountsWithAccountType:facebookTypeAccount];
                                                    _facebookAccount = [accounts lastObject];
                                                    NSLog(@"Success");
    
                                                    [self me];
                                                }else{
                                                    // ouch
                                                    NSLog(@"Fail");
                                                    NSLog(@"Error: %@", error);
                                                }
                                            }];
    }
    

    Get “me”:

    - (void)me{
        NSURL *meurl = [NSURL URLWithString:@"https://graph.facebook.com/me"];
    
        SLRequest *merequest = [SLRequest requestForServiceType:SLServiceTypeFacebook 
                                                  requestMethod:SLRequestMethodGET 
                                                            URL:meurl 
                                                     parameters:nil];
    
        merequest.account = _facebookAccount;
    
        [merequest performRequestWithHandler:^(NSData *responseData, NSHTTPURLResponse *urlResponse, NSError *error) {
            NSString *meDataString = [[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding];
    
            NSLog(@"%@", meDataString);
    
        }];
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know its possible to use the built in levels with log4net INFO, WARN,
I'm an iOS newbie, but was wondering if it's possible to use a built-in
I wonder whether it is possible to use Django in-built comments framework for other
Is it possible to change C#'s built-in Vector3 struct to not use floating point
I'm wondering whether it's possible to use built in ASP.NET application services (aspnet_user, aspnet_role
If I were to send an email from any ios app (non built in
Is it possible to use the built in ASP.NET membership provider to secure a
Is it possible to use Phonegap's Build service to build projects that may have
Does anyone know if it's possible to use the go build command to build
Is it possible to use a hbm xml Hibernate configuration to build an EntityManagerFactory

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.