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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:14:24+00:00 2026-06-12T05:14:24+00:00

I am in the process of implementing Facebook SDK 3.0 in my iOS app.

  • 0

I am in the process of implementing Facebook SDK 3.0 in my iOS app. Previously, I was able to login using a webview from within my app, but it appears that that option is no longer available in SDK 3.0.

My app does not run in the background (that is something that I am not going to change at this point). I currently launch Facebook from a view controller that is not the root controller (which is shown when the app is first launched); and I use a completion handler to finish the Facebook request when the login completes successfully.

The problem is that when the Facebook login is launched, it takes the user out of the app now; the completion handler result is never called, since the app was terminated. So the user is left on the rootController, with no results after logging in.

Is there any way to possibly login to Facebook from within the app in SDK 3.0?

If not, is there a workaround that will allow me to keep my app from running in the background?

  • 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-12T05:14:25+00:00Added an answer on June 12, 2026 at 5:14 am

    You can force the login in a web view like this :

    FBSession *mySession = [[FBSession alloc] initWithAppID:myAppID 
                                                permissions:myPermissions 
                                            urlSchemeSuffix:myUrlSchemeSuffix 
                                         tokenCacheStrategy:nil];
    [FBSession setActiveSession:mySession];
    [mySession openWithBehavior:FBSessionLoginBehaviorForcingWebView
              completionHandler:myCompletionHandler];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to update an app of mine to from iOS SDK 3.0 to
I'm in the process of implementing in-app billing and I'm using the Dungeons app
I am in process of implementing a REST API server using Apache CXF JAX-RS
I'm in the process of implementing the factory design pattern, but wanted to know
I'm implementing the Facebook batch process to upload multiple images with the single request.
I am (still) in the process of implementing key navigation for an app. I
I am implementing inter process communication using Boost Interprocess. As a test I took
I am implementing audio streaming app which handles the streaming process manually by implementing
I'm in the process of updating several projects from using various insecure/horribly insecure MD5-based
I have an app with multiple UITableViews and am in the process of implementing

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.