Is xd_receiver.htm required?

I am trying to diagnose why I am getting a blank popup when I try to authenticate with facebook when using IE.

To get started, I want to make sure my environment is set up correctly. I do not have xd_receiver.htm at the root of my site.

Q: What is the purpose of xd_receiver.htm and is it needed for use with facebook-C # -sdk 5.0.3? Q: If required, should the xd_receiver.htm file be located only in the root directory or in several places?

Since my application is simple, I use the following code to login. As soon as I log in, I use facebook-C # -sdk to do some simple POST for me / feed.

<fb:login-button ... />

<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript">

    FB.init({ appId: '<%= System.Configuration.ConfigurationManager.AppSettings["FacebookAppId"] %>', status: true, cookie: true, xfbml: true });
    function facebook_onlogin_ready() {
    // refresh page
        window.location.reload(true);
    }

</script>

Any thoughts on why IE through a blank popup would be appreciated.

Thanks in advance.

Steve

+3
1

xd_receiver.htm . Javascript SDK. , popup IE. 1) 80 443. Facebook Javascript SDK IE . 2) IIS . ( local.facebooksdk.net, 127.0.0.1). 3) , URL- URL-, . .

+5

Source: https://habr.com/ru/post/1793902/


All Articles