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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:49:15+00:00 2026-05-24T20:49:15+00:00

I have integrated facebook connect into my Xcode 4 project for an iPhone. Here

  • 0

I have integrated facebook connect into my Xcode 4 project for an iPhone. Here is the code for iPhone FBconnec. FBconnect.h and FBSession.h already included.

- (void)viewDidLoad{ _session = [[FBSession sessionForApplication:@"APPKey" 
                                      secret:@"APPSecret" 
                                    delegate:self]retain];

FBLoginButton* fbButton = [[[FBLoginButton alloc] init] autorelease];
fbButton.frame = CGRectMake(228, 50, 85, 50);
[self.view addSubview:fbButton]; }

The code is working fine, but for some facebook accounts when run the FQL query to select email from user. I get NULL as shown below

length of users Array: (
    {
    "contact_email" = "<null>";
    email = "<null>";
    "first_name" = Ali;
    "last_name" = Subhani;
    uid = 696377693;
}

How can I get the extended permission. I am just using following code to run the query. Which contains word params, I think it has to do something with FBRequest. Have a look at the code below

- (void)getFacebookName {

//==================== MAKING FACEBOOK REQUEST =============================
NSString* fql = [NSString stringWithFormat:
                 @"select uid,first_name,last_name,email from user where uid == %lld",
                 self._session.uid];
NSDictionary* params =
[NSDictionary dictionaryWithObject:fql
                            forKey:@"query"];

[[FBRequest requestWithDelegate:self]
 call:@"facebook.fql.query" params:params];}

Where should I enter extended permissions so I can get user email.

  • 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-05-24T20:49:16+00:00Added an answer on May 24, 2026 at 8:49 pm

    I use

    [appDelegate.facebook authorize:
      [NSArray arrayWithObjects:
        @"offline_access", @"email", @"user_checkins", @"publish_checkins", nil]
                           delegate:delegate 
                         localAppId:localAppId];
    

    …to authorize and request email access (using the @"email" permissions key above). I’m not sure if a user can have NO email address, as they have at least one to login with.

    However, Facebook gives the user the option to obfuscate it from you with an arbitrary @facebook.com account that forwards to their regular email account.

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

Sidebar

Related Questions

I have integrated Facebook connect in my iphone application. when user clicks on a
I am new to the iPhone Programming. I have integrated facebook into my application
I have integrated Facebook into my Android App. When a user now posts a
I have integrated Twitter and Facebook in my iPhone App successfully. Also Facebook and
I've started working on integrated Facebook Connect with my app. I have a slight
I have integrated the Facebook SDK in my app using the official facebook connect
I have integrated Facebook into my site, but where is the best place to
I have integrated Facebook into my Android application. It was worked fine before last
I have integrated Facebook into my app. However, instead of bringing it up in
I have integrated Facebook login into my site(codeigniter).I got name, profile URL etc ..but

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.