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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:35:51+00:00 2026-06-14T21:35:51+00:00

We’re writing a native iOS app which integrates with Facebook. Several months ago we

  • 0

We’re writing a native iOS app which integrates with Facebook. Several months ago we set up a placeholder FB app via developers.facebook.com and have been doing all of our testing via that. Now that we’re closer to release I thought I’d set up a new, clean, “proper” FB app, with all of the correct app descriptions/URL fields/etc.

As a first step, I’ve set up the new app to be as similar to the old one as possible and made a new test user. The old app works fine, so I’m reasonably confident that our iOS code is correct (and yes I’ve switched the app ID in the XCode project and so forth), but when we run with the new app integrated we get this behaviour when trying to authorise the app with the user:

If the iOS Facebook app is installed and the test user is already logged in:

  1. On calling openActiveSessionWithReadPermissions (requesting @”email” permissions), the iOS Facebook app is launched and shows the user the basic info authorisation page for our app.
  2. The user clicks the “Log in” button at the top of the page.
  3. The FB app pops up another, blank window with a “Cancel” button at the top left.
  4. From this point on, nothing the user does will make Facebook return control to our iOS app.
  5. But checking the test user’s page afterwards shows that the app has been authorised.

If I uninstall the Facebook app from the device, thereby forcing the request screens to be shown in Safari instead, we get the same behaviour except point (3) above is replaced with:

3) A device alert saying “Safari cannot open the page because the address is invalid”. This is the address it’s trying to open: https://m.facebook.com/dialog/permissions.request?_path=permissions.request&app_id=<*our_app_id*>&redirect_uri=fb<*our_app_id*>%3A%2F%2Fauthorize&sdk=ios&display=touch&type=user_agent&perms=email&fbconnect=1&sso=iphone-safari&from_login=1&client_id=<*our_app_id*>&refid=9

I’ve found this behaviour to be the same on iOS 5.1 and 6.0 hardware devices and the 6.0 simulator. Using out old FB app, the authorisation returns correctly. I’m sure that in the app admin page I just haven’t set one of the magical, barely-documented option checkboxes correctly, but I really don’t know how to go about finding out what’s going wrong.

Thanks for any advice!

  • 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-14T21:35:53+00:00Added an answer on June 14, 2026 at 9:35 pm

    As it’s not returning to your app, you may have forgot to add the URL scheme to your Info.plist. You should have a new entry, here’s the XML representation of it:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
            <array>
            <dict>
                    <key>CFBundleURLSchemes</key>
                    <array>
                        <string>fbYOUR_APP_ID</string>
                    </array>
            </dict>
            </array>
        </plist>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing an app with both english and french support. The app requests
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have an autohotkey script which looks up a word in a bilingual dictionary
I have an array which has BIG numbers and small numbers in it. I

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.