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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:40:16+00:00 2026-05-23T20:40:16+00:00

I successfully integrate the face-book API and able to get all user profile but

  • 0

I successfully integrate the face-book API and able to get all user profile but the problem is the value i am getting without permission dialog. In place of permission dialog i am getting blank white dialog without any content or any buttons.I am using FBConnect.
I Done with this code i stuck from last many days because i am not able to find the reason also i tried google to get solution but not get success.

My code is here to display dialog.

`-(void)askPermission:(id)target{
FBPermissionDialog* dialog = [[[FBPermissionDialog alloc] init] 
                                  autorelease];
    //dialog.permission = [NSString stringWithString: @"user_birthday,user_interests"]; 
    dialog.delegate = self;
    dialog.permission = @"user_interests,user_birthday";
    [dialog show]; 
}`

in FBPermissionDialog.m 

-(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request
    navigationType:(UIWebViewNavigationType)navigationType {
//  if (_permission = [NSString stringWithFormat:@"user_interests"]);
// {
//    NSURL* url = request.URL;
//    if ([url.scheme isEqualToString:@"fbconnect"]) {
//      if ([url.resourceSpecifier isEqualToString:@"success"]) {
//        [self redirectToLogin];
//        return NO;
//      }
//}

  return [super webView:webView shouldStartLoadWithRequest:request navigationType:navigationType];
}



    -(void)dialogDidSucceed:(FBDialog*)dialog {
        NSString* fql = [NSString stringWithFormat:
                         @"select name, first_name, last_name, hometown_location, sex, pic_square, current_location, interests, birthday_date , activities, tv, movies, music, books from user where uid == %lld", _session.uid];
        NSLog(@"%@",fql);
        NSDictionary* params = [NSDictionary dictionaryWithObject:fql forKey:@"query"];
        NSLog(@"%@",params);
        [[FBRequest requestWithDelegate:self] call:@"facebook.fql.query" params:params];


    }

Please help me i don’t know why i didn’t get the permission Dialog and getting blank screen .Any help will be appreciated.
Thank You

  • 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-23T20:40:18+00:00Added an answer on May 23, 2026 at 8:40 pm

    meaning you are not getting the login credential dialogue. Is there any dialog appearing BUT its blank? If yes please make sure you have the latest Facebook for IOS sdk downloaded please 🙂 Link : https://github.com/facebook/facebook-ios-sdk

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

Sidebar

Related Questions

Hi I'm able to successfully integrate iphone app with facebook framework. But I need
integrate twitter with my android app i successfully get the token and tokeSecreat but
Has anyone been able to successfully integrate netbeans with Redmine since the new rest
I try to integrate paypal with Android app using sandbox. I'm getting successfully longing
I successfully integrate sharekit into my app. At first, I was able to have
Successfully used jquery-infinite-carousel in the past but for my current project I need it
I successfully installed the latest QuantumGrid from DevExpress, but I've never worked with this
I have successfully installed following items as i want to Integrate Facebook Chat Into
I have successfully integrate AdWhirl (v3.0) with AdMob in InMobi. Now when my app
I'm using right now the scipy.integrate.quad to successfully integrate some real integrands. Now a

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.