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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:51:27+00:00 2026-05-26T15:51:27+00:00

My app has not caught up to the new changes in facebook’s oauth. Before,

  • 0

My app has not caught up to the new changes in facebook’s oauth. Before, I was able to request permissions for users then they could access my app. Now, new users are no longer able to grant permissions to my app. They are sent to:

https://www.facebook.com/dialog/permissions.request?app_id=myappid&display=page&next=http%3A%2F%2Fwww.mywebsite.com%2Ffacebook%2F&response_type=code&state=094d0568ec11f05e8cc594d69342d0e1&fbconnect=1

and receive the message “Sorry, something went wrong. We’re working on fixing it as soon as we can.” If, on the other hand, the user had already granted permissions to my app before the oauth, everything was okay.

The php is like this:

$user = $facebook->getUser();

if ($user) {
  try {
    // If the user has been authenticated then proceed
    $user_profile = $facebook->api('/me');
  } catch (FacebookApiException $e) {
    error_log($e);
    $user = null;
  }
 }

 // If the user is authenticated then generate the variable for the logout URL
 if ($user) {
 $logoutUrl = $facebook->getLogoutUrl();

then the user receives the html index page of my app. otherwise, they are supposed to be redirected to the request permissions dialog via the following php at the end of the page:

 } else {
   $loginUrl = $facebook->getLoginUrl(array('redirect_uri' => $fbconfig['appUrl']));
   print "<script type='text/javascript'>top.location.href = '$loginUrl';</script>";
 }

Like I said, pre-registered users can access the content perfectly, but new members are greeted with the above error rather than the permissions screen.

Can anyone help my fix my permissions problem? 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-05-26T15:51:28+00:00Added an answer on May 26, 2026 at 3:51 pm

    The error message you’re getting is

     API Error Code: 191
     API Error Description: The specified URL is not owned by the application
     Error Message: redirect_uri is not owned by the application.
    

    This means you’re trying to redirect the user immediately after login to a page which isn’t part of your app (according to your config)

    The most likely cause of this is that the URL Defined in $fbconfig['appUrl']) doesn’t match what you’ve configured in your app settings in the Site Domain(s) field

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

Sidebar

Related Questions

My app has a not that frequent operation that is executed on the UI
My app has several buttons which trigger different events. The user should NOT be
Is it possible to make app not launchable if it has been cracked and
Has anyone had any experience in saving app preferences (within app, not in Settings
After update our iphone app can not access the keychain. The distribution certificate has
I have a tableView which has cells with phone numbers. The app is not
When a user lands on my app and has not gone thru the authorise
My app has an options menu that is available in almost all Activities, which
My app has the ability to store passwords. But these are important passwords, so
My app has started throwing errors when I try to save a particular class

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.