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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:15:38+00:00 2026-05-28T19:15:38+00:00

I am trying to open a feed dialog using the JS SDK’s FB.ui method

  • 0

I am trying to open a feed dialog using the JS SDK’s FB.ui method and have it close after the user shares. My problem is the feed dialog is requiring a redirect_uri even though the documentation says it doesn’t have to be defined, and the popup window redirects there and will not close like the callback function says.

Here’s my code, attached to the submit click event:

    FB.ui (
        {
            method: 'feed',
            name: 'xxx!',
            link: 'link to FB tab',
            picture: 'jpg',
            caption: 'xxx',
            actions: {name:'xxx',link:'url'},
            ref: 'xxx',
            redirect_uri: 'link to FB tab'
        },
        function(response) {
            self.close();
        }
    );

If I leave off the redirect_uri, the popup opens but it just says the FB app has an error and please try again.

  • 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-28T19:15:39+00:00Added an answer on May 28, 2026 at 7:15 pm

    It appears this is a known change in Facebook’s JavaScript SDK: http://developers.facebook.com/bugs/302946973066993

    When using the Facebook JavaScript API, invoking FB.ui will fail unless a ‘redirect_uri’ property is supplied in the params object – this behavior is unexpected because:

    1.) The documentation states that the ‘redirect_uri’ will be automatically appended by most SDKs [1] – previously the JavaScript SDK was providing one which closed the Lightbox iFrame. 2.) Adding a redirect_uri param results in the Facebook Lightbox iFrame redirecting which stops the user from being able to close it.
    3.) The redirect_uri param was not required previously.

    This is the behavior I’m used to and have been trying to duplicate. A FB dev reports that this is now "by design."

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

Sidebar

Related Questions

I am trying open a new window using url.Action. And the new Window url
im trying to open a file using StreamReader and ive to set a Encoding,
I'm trying to open a Microsoft Excel file in a C# program using the
I'm trying to open and read from a serial port using the System.IO.Ports.SerialPort class.
I am trying to open a process handle in C# using the OpenProcess function
I am trying to open one window from another using makeKeyAndOrderFront. The new window
I am trying to parse a Rss2.0 feed on Android using a Pull parser.
I am trying to get the profiles feed from my Google Apps domain using
I have an xml feed at this url Now im trying parse the content,
I am trying open & close accordion panes programatically. Here is the simplified version

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.