FB.ui Share popup on Azure Hosted Application: The domain of this URL isn't included in the app's domains


CJH

I have an application I have been developing which is to make use of the Facebook Developers FB.ui share popup:

        FB.ui({
            display: 'popup',
            method: 'share',
            href: imgUrl,
            quote: imgComment,
        }, function (response) { });

This seems to work perfectly when I am developing on localhost:5001 (I have set the following in my FB Dev Application settings):

entrez la description de l'image ici

However, as soon as I publish my application to my Azure hosted site (on the other address I have marked out above) I get the following error when trying to load the FB.ui Share popup:

entrez la description de l'image ici

The URL in the Valid OAuth Redirects URIs matches exactly the location of my Application online on Azure:

entrez la description de l'image ici

Je ne peux donc pas comprendre pourquoi je vois cette erreur lorsque j'essaie de charger la fenêtre contextuelle Partager.

CBroe

L'URL dans les URI de redirection OAuth valides correspond exactement à l'emplacement de mon application en ligne sur Azure

Le message d'erreur ne parlait pas de ce champ, mais du champ App Domains .

Vous le trouvez sous Paramètres -> De base.

Articles connexes


Azure Web App custom domain and domain resolution

Jag Is there a way to tell Azure to add a custom domain in advance? Currently when trying to add a custom domain to a web app it won't accept it until the domain has been updated. Our client wants to update their DNS info at midnight which means somebody will

Dialog box of jQuery UI is visible even if it's event isn't fired

androidnation I have this fullcalendar displayed on my web app page: And when I click on a specific date, I get a pop up form using jQuery UI plugin. The problem is that the form that should only pop up when I click on a date, is visible after the calendar: Lo

Linking URL with a Bluemix hosted app

Liora Milbaum Is it possible to route a URL to my BlueMix hosted app? Any pointers will be more than appreciated. Thanks, Liora joe Yep! Video: https://www.youtube.com/watch?v=fG7UbOHywXc There are two parts. First is the DNS settings and URL forwarding you'll

Popup isn't displaying correctly

user16741069 I am trying to create a popup on the 1's which are present in this table. I want different popup for different 1 value(data could be the same). But now what is happening that if I click on any 1 it just opens the first 1's popup. It is happening b