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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:21:44+00:00 2026-06-12T02:21:44+00:00

Second Update After doing some more digging, there seems to be a bigger issue

  • 0

Second Update
After doing some more digging, there seems to be a bigger issue at play.

The reason why openURL is not fired, is that the app seems to be freezing when it is brought back to the foreground.

If I launch my app, click the home button (go back to home screen), and re-load my app (not full relaunch but just a restore), the app opens, but everything is frozen.

-(void)applicationWillEnterForeground:(UIApplication *)application

is fired when the app comes back, however after that nothing happens. Using the simulator for IOS 6.0 I get no crash at all, but the app just sits there doing nothing. Click on the screen does nothing. If I click on the home screen I can go back to the home screen.

So the reason openIURL is not fired is because the app freezes when it comes back from Facebook login either from Safari or Facebook app. It has nothing to do with the facebook SDK.

Why is this happening?

Update Seems the issue is related with openURL not being called. The app does open when the custom URL is executed from safari or facebook app. If I create a brand new app it does work.

Another Related Issue application open Url method not called after user authenticates the facebook

I have an app that uses facebook login with the facebook SDK 3.0.

Under IOS 5 the flow works as intended and I do see the output of IS LOGGED IN:

NSArray *permissions = [[NSArray alloc] initWithObjects: @"publish_stream",@"offline_access",@"email",nil];

[FBSession openActiveSessionWithPermissions:permissions allowLoginUI:YES
completionHandler:^(FBSession *session,
                    FBSessionState status,
                    NSError *error) {
    if(session.isOpen){
      NSLog(@"IS LOGGED IN");
    }                                  
}];

[permissions release];

In my App delegate the openURL function is as follows

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

- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
    return [[FBSession activeSession] handleOpenURL:url];
}

Again, under IOS 5 the openURL function is called after a successful login through facebook.

Under IOS 6, when I execute the openActiveSessionWithPermission (login)..the openURL is never called back.

I have supplied the necessary information in my .plist file according to facebook documentation

FacebookAppID = (My Facebook App ID)

and

URL types 
 -> Item 0
    -> URL Schemes
      -> Item 0 = (My Facebook App ID)
  • 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-12T02:21:45+00:00Added an answer on June 12, 2026 at 2:21 am

    The issue was related to the way I was using TWTweetComposeViewController in my app, so it is not related to facebook SDK afterall.

    The issue was that I was initializing my TWTweetComposeViewController in my ViewDidLoad and not using until needed. However, if the TWTweetComposeViewController is not shown but is initiliazed, it will freeze your application when it enters from background mode.

    The fix is to initiliaze TWTweetComposeViewController only when you are about to show it.

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

Sidebar

Related Questions

i have two list, i wanted to update the second list while adding a
UPDATE: First problem solved, second one described at the bottom of this post. UPDATE2:
I'm experiencing some weird behavior with SELECT statements in sqlite. There is one table
I've been doing some research into finally automating our Development builds and still have
I have a Label the Content of which I would like to update after
I've managed (after much difficulty) to get to the second step of the installation
I have a webapp that I am in the middle of doing some load/performance
Here's some quick code I am doing. (I removed some of it to make
Recently I decided to optimize some file reading I was doing, because as everyone
With repeatable read isolation level, it is still possible to lose updates (second lost

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.