用于邀请选定朋友添加我的应用程序的组件
我正在尝试构建组件来选择朋友并从我的应用程序向他们发送邀请。下图显示了Facebook提供的组件(本例中是另一种邀请,但组件是相同的)。
http://facebook-developer.net/wp -content/uploads/2008/02/invite-form-output.jpg
我尝试使用网站说明:http://developers.facebook.com/docs/reference/fbml/request-form/
但内容令人困惑。我需要用 Java 实现这个组件,在网站的情况下,有一个对 getFacebookUtils () 的调用,除了更具体的解释之外,没有解释它属于哪个库。
在 Java 中使用 facebook 提供的这个组件需要帮助。
谢谢。
I'm trying to build component to select friends and send an invitation from my application to them. The following image displays the component provided by Facebook (in this example is another kind of invitation, but the component is the same).
http://facebook-developer.net/wp-content/uploads/2008/02/invite-form-output.jpg
I tried to use the site instructions: http://developers.facebook.com/docs/reference/fbml/request-form/
But the content is confusing. I need to implement this component in Java and in the case of the site there is a call to the getFacebookUtils () without explanation of what library it belongs in addition to a more concrete explanation.
Need help using this component provided by facebook in Java.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
那是在旧版 API 下,您不应该将它用于新的东西。另外,要明确的是,您不能发送邀请,只能提示用户发送“邀请”。您应该使用请求对话框(2.0/Frictionless),它是“邀请”的替代品。假设您使用的是 Web 界面,您可以在前端使用 javascript 来实现它。
https://developers.facebook.com/docs/reference/dialogs/requests/
Thats under the Legacy API and you should not use it for something that is new. Also, to be clear, you cannot send invites, you can only prompt the user to send "invites". What you should use is the Request Dialog (2.0/Frictionless), which is the replacement for "invites". You implement it using javascript on the front end, assuming you are using a web interface.
https://developers.facebook.com/docs/reference/dialogs/requests/