我有一个iFrame的FB的应用程序列表(托管在说mydomain.com),这说明朋友使用下面的邀请对话:Facebook应用程序邀请,让邀请朋友
<body>
<fb:serverFbml>
<script type="text/fbml">
<fb:fbml>
<fb:request-form action="http://mydomain.com/InviteSent.aspx" method="GET" invite="true" type="Game"
import_external_friends="true" style="background-color:#000"
content="Hey! Come join me, I'm online now! <fb:req-choice url="<%=gameUrl%>; label="Come and play!" />">
<fb:multi-friend-selector max="30" cols="3" rows="4" showborder="true" condensed="false" actiontext="Invite your friends to come and play!" />
</fb:request-form>
</fb:fbml>
</script>
</fb:serverFbml>
</body>
回调/动作页是在朋友被成功邀请后打电话肯定会被称为好,但我的问题是找回被邀请者的Facebook ID。 FB文件说,他们应该是形式张贴到“IDS”,所以我的代码背后有这样(C#ASP.net):
if(Request["ids"] != null)
((Site)Master).FbInviteSent(Request.QueryString.GetValues("ids"));
我还设置授权权限,当人们添加的应用,所以我不我相信这个问题与此有关。
提前为任何帮助而欢呼。
谢谢,但我重定向到相同的域(我稍微更新了代码来表明这一点)。 – Daniel 2011-01-12 04:07:34