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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:24:38+00:00 2026-06-02T11:24:38+00:00

We followed the Facebook example code, shown here — this works in our app

  • 0

We followed the Facebook example code, shown here — this works in our app — if you click the anchor ‘a’ link, its onclick handler opens a new window and the facebook feed dialog appears:

      <a class="fbShareToWall" onClick='window.open("https://www.facebook.com/dialog/feed?app_id=123050457758177
       &link=https://developers.facebook.com/docs/reference/dialogs/
       &picture=http://fbrell.com/f8.jpg
       &name=Facebook%20Dialogs&caption=Reference%20Documentation
       &description=Using%20Dialogs%20to%20interact%20with%20users.
       &redirect_uri=http://www.example.com/response");'>Share on Facebook</a>

The above code works fine and displays the Facebook sample of the Feed dialog.

Here is our code – we get the error message:

“An error occurred with oursite.com. Please try again later.
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.

NOTE: this is a beta site and we’re running it on a staging server whose domain name is NOT the same as the domain name that “OUR_APP_ID” below is associated with:

            <a class="fbShareToWall" onClick='window.open("https://www.facebook.com/dialog/feed?app_id="OUR_APP_ID"
             &link=https://www.oursite.com&name=Please%20work
             &caption=Just%20work
             &description=Comeon%20work
             &redirect_uri=http://www.oursite.com");'>Share on Facebook</a>

(note: our code has the numerical FB app_id, not “OUR_APP_ID”)

“OUR_APP_ID” is ‘connected’ to our production server’s domain name and we’re kinda wondering if that’s the problem.

EDIT: “we’re kinda wondering if that’s the problem” because the code above is on our staging website http://www.foo.com —
and our code above uses an app_Id that we connected to our production domain name ‘www.oursite.com’.

We wonder if Facebook — upon receiving the above request to display the Feed dialog — is saying to itself

“okay this website http://www.foo.com is trying to display a Feed dialog — but the app_id is for http://www.oursite.com —
so we’re going to pop up a 191 error”

We tested that theory. We altered the sample FB feed dialog code at the top — we changed some numbers in the sample code’s app id.

And we get an error message now with the formerly working sample Feed dialog code but it is a completely different error message.

Any advice on this ‘191’ redirect_uri error message?

  • 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-02T11:24:40+00:00Added an answer on June 2, 2026 at 11:24 am

    the url format works fine with my app

    https://www.facebook.com/dialog/feed?app_id=135669679827333&link=https://anotherfeed.com&name=testing&caption=Just%20testing&description=the%20test&redirect_uri=http://anotherfeed.com
    

    check to make sure your app id is correct and that your redirecting to the domain that is set up in your app settings.

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

Sidebar

Related Questions

I followed the instructions here , and it works fine, when the Facebook App
I followed this tutorial here: http://www.dannyherran.com/2011/02/facebook-php-sdk-and-codeigniter-for-basic-user-authentication/ It works great but when I enable CSRF
I followed this guide and I've created my app successfully with Facebook integration. What's
i am doing facebook app in my project. i followed this step the sample
I wrote this code. I followed the sample application code provided with facebook SDK.
I followed the example here -- https://github.com/facebook/php-sdk : require 'php-sdk/src/facebook.php'; $facebook = new Facebook(array(
Followed this question about delayed_job and monit Its working on my development machine. But
I have followed the omniauth devise facebook app as explained by Ryan in episode
I am a new facebook application deverloper. I followed this tutorial: http://www.adobe.com/devnet/facebook/articles/video_facebook_quick_start.html but I
So i followed this tutorial to set up the android facebook sdk in my

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.