多好友选择器在 https 中不起作用(启用安全浏览)
我们在 https 模式下使用 facebook iframe 应用程序,在我们的应用程序中,我们需要使用多好友选择器向多个好友发送邀请。 但是当我们单击“选择好友”按钮时,它显示空白弹出窗口。它适用于 http(非安全浏览)。
"<fb:serverfbml><script type=\"text/fbml\">" +
"<fb:fbml>" +
"<fb:request-form action=\"" + (HttpContext.Current.Request.IsSecureConnection ? ConfigurationManager.AppSettings["Callback"].Replace("http://", "https://") : ConfigurationManager.AppSettings["Callback"]) + "pagename.aspx?dbskip=true&fb_sig_user=" + fbuserid + "\"" +
"method=\"POST\"" +
"invite=\"true\"" +
"type=\"My App \"" +
"content=\"" + "my content" +
"<fb:req-choice url='" + "my choice"+ "'" +
"label='" + " my text "+ "'/>" +
"\">" +
"<fb:multi-friend-selector bypass=\"cancel\" email_invite=\"false\" max=\"35\" cols=\"5\" actiontext=\"Select friends to send invitation\" rows=\"3\"/>" +
"</fb:request-form></fb:fbml></script></fb:serverfbml>";
提前致谢......
We are using facebook iframe app in https mode, from our app we need to send an invitation to multiple friends using multi-friend selector.
But when we click on Select Friends button, it is showing blank popup. It works fine for http (non secure browsing).
"<fb:serverfbml><script type=\"text/fbml\">" +
"<fb:fbml>" +
"<fb:request-form action=\"" + (HttpContext.Current.Request.IsSecureConnection ? ConfigurationManager.AppSettings["Callback"].Replace("http://", "https://") : ConfigurationManager.AppSettings["Callback"]) + "pagename.aspx?dbskip=true&fb_sig_user=" + fbuserid + "\"" +
"method=\"POST\"" +
"invite=\"true\"" +
"type=\"My App \"" +
"content=\"" + "my content" +
"<fb:req-choice url='" + "my choice"+ "'" +
"label='" + " my text "+ "'/>" +
"\">" +
"<fb:multi-friend-selector bypass=\"cancel\" email_invite=\"false\" max=\"35\" cols=\"5\" actiontext=\"Select friends to send invitation\" rows=\"3\"/>" +
"</fb:request-form></fb:fbml></script></fb:serverfbml>";
Thank in advance......
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许您现在不应该使用旧版 FBML。它已被弃用。
Maybe you shouldn't use legacy FBML now. It is deprecated.