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

  • Home
  • SEARCH
  • 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 7918313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:27:34+00:00 2026-06-03T15:27:34+00:00

I have implemented Facebook in my application, and noticed that I have some problems

  • 0

I have implemented Facebook in my application, and noticed that I have some problems which I just can’t figure out.

When Facebook signle-signon returns to my application after approval in Facebook.app, while running and debugging from XCode.. the app kind-of hang when resuming and after about 30 – 40 seconds it switches back to the page that requested facebook authentication.
When I run the app stand-alone, without debugging in XCode the app crashes after 10 – 15 seconds. I pulled the crash log from the device, and this is the result: http://pastebin.com/MeT7Rt52

When I test this in the simulator, the same things happens… allthough it uses Safari instead. I do not believe that Facebook or Safari is or could be the source of the problem… since it cannot be.

I have searched and searched, but cannot find an answer to this problem.

Here is some of my code in my AooDelegate:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    NSSetUncaughtExceptionHandler(&uncaughtExceptionHandler);
    [FlurryAnalytics startSession:APP_FLURRY];

    [TestFlight takeOff:APP_TESTFLIGHT_KEY];
    facebook = [[Facebook alloc] initWithAppId:APP_FB_APP_ID andDelegate:self];

    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    [self.window setBackgroundColor:[UIColor scrollViewTexturedBackgroundColor]];

    [...]

    return YES;
}

- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
    return [facebook handleOpenURL:url]; 
}

- (void)fbDidLogin {
    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
    [defaults setObject:[facebook accessToken] forKey:@"FBAccessTokenKey"];
    [defaults setObject:[facebook expirationDate] forKey:@"FBExpirationDateKey"];
    [defaults synchronize];
}
  • 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-03T15:27:37+00:00Added an answer on June 3, 2026 at 3:27 pm

    I isolated the problem, and the answer to the question is something that I didn’t expect it to be.
    In my application, I use TestFlightApp‘s API. I initiate it when the application is launched, as I should… however, this is also the thing that prevents the app from returning to its previous state (as it seems).

    I dissabled TestFligthApp and the application resumed as it should.

    Thank you for your answers!

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

Sidebar

Related Questions

I am working on a rails application. I have implemented facebook integration in my
I am building an application in ASP.NET MVC 3 in which I have implemented
I am trying to make an application which integrates facebook and twitter. I have
We have a Facebook application implemented as tabs in a page. However, for certain
I have a facebook app that load some content with ajax, including some like
I have implemented single sign on functionality using Facebook's SDK in my iPhone application,
I have implemented a facebook style search suggestion feature for my application . But
I have an application that I am posting updates to facebook. I am using
I have implemented facebook connect application in one of my website. Everything works fine
I have implemented Facebook Connect into a HTML page exactly as the tutorial explains

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.