I have facebook iFrame app which is being displayed in company page. On same iframe app i have invite button where we open FB.UI send method to open invitation dialog.
For some reason since last week, my send window is not getting closed. I used fiddler to see what is happening and noticed that following following URL keeps looping. This happens only in IE, works fine in all other browsers.
here is my code:
<div id="fb-root"> </div>
<script type="text/javascript" src="http://connect.facebook.net/en_GB/all.js"></script>
<div class="footer">
<br />
<script type="text/javascript">
FB.init({
appId: '<%=lAppId %>',
status: true, // check login status
cookie: true, // enable cookies to allow the server to access the session
xfbml: true // parse XFBML
});
</script>
</div>
I am calling following javascript on click on Invite button:
function invite() {
var lLinkToPublish=GeAppUrl();
var lTextToPublish=GetPublishText();
var lTitleText=GetInvitationTitle();
FB.ui({
method: 'send',
name: lTitleText,
display: 'popup',
description: lTextToPublish,
link: lLinkToPublish ,
});
}
I have tried solutions from for e.g. with no luck Facebook php app keeps looping in IE, is there a fix on server side?