使用新的 Javascript SDK 从 Facebook Connected 网站发送朋友邀请
我正在开发一个独立的网站应用程序,该应用程序使用 Facebook Connect 和 6 月份发布的新 Javascript SDK。
我一直在努力让好友邀请发挥作用。我可以使用请求对话框(http://developers.facebook.com/docs/reference/dialogs/requests/)发送邀请,但用户接受邀请时单击的 URL 是内部的Facebook 应用程序页面 (http://apps.facebook.com/APP_ID/?request_ids=REQUEST_ID&ref=notif),不是我的网站 URL。
有没有办法解决这个问题,以便邀请使用 FB Connected Web 应用程序?
以前版本的 SDK 似乎可以实现这一点。
我看到过一些建议从画布页面进行重定向的帖子,但我也了解到这可能会导致应用程序被 Facebook 暂停: http://forum.developers.facebook.net/viewtopic.php?pid =343257#p343257
非常感谢您就此事提供的帮助。
I'm developing a standalone website application that makes use of Facebook Connect and the new Javascript SDK that was released in June.
I've been trying to get friend invites working. I'm able to send an invite using a request dialog (http://developers.facebook.com/docs/reference/dialogs/requests/), but the URL that the user clicks through to when they accept the invite is the internal Facebook app page (http://apps.facebook.com/APP_ID/?request_ids=REQUEST_ID&ref=notif), not my site URL.
Is there any way to fix this so invites work with FB Connected web applications?
It seems this was possible with previous versions of the SDK.
I have seen some posts recommending a redirect from the canvas page, but I have also read that this can lead to the application being suspended by Facebook:
http://forum.developers.facebook.net/viewtopic.php?pid=343257#p343257
Many thanks for assistance on this matter.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我绝不会期望 Facebook 通过请求系统接受邀请来引导我访问外部 URL - 特别是当大多数邀请/请求往往是垃圾邮件时。
您是否考虑过通过 Facebook 消息系统分发邀请或通过电子邮件发送邀请?
这将使整个过程减少对用户的误导。
I would never expect Facebook to lead me to an external URL by accepting an invite via the request system - especially when most invites/requests tend to be spam.
Have you thought of distributing your invites via the Facebook Message system or sending them via email instead?
This would make the whole process a lot less misleading to a user.