简体   繁体   English

将表单发布到Facebook事件墙

[英]post form to facebook event wall

I have a facebook event, and i want to send the members a form that i created and hosted on my website, asking them what days they are available to meet. 我有一个Facebook活动,我想向会员发送我在网站上创建并托管的表格,询问他们可以开会的日子。 I want is so that when they hit submit it will post the information from the form to the event wall. 我要的是这样,当他们点击提交时,它将信息从表单发布到活动墙。

I have never done anything with facebook, and the examples i found were to post on your own wall not an event wall. 我从来没有对Facebook做任何事情,我发现的示例是在您自己的墙上发布而不是在事件墙上发布。

as of now the form is handled by a php script which just emails me the result. 截至目前,该表格由php脚本处理,该脚本仅通过电子邮件将结果发送给我。

Reference Facebook for Developers 开发人员参考Facebook

This is more complex than it seems. 这比看起来要复杂。

1) Register your website that houses the form as a facebook app. 1)将包含表单的网站注册为Facebook应用。
2) Add php code or javascript code to request permission to post on behalf of your users. 2)添加php代码或javascript代码,以请求代表您的用户发布的权限。
3) On submit, send a message to facebook to post on the event wall. 3)提交后,向Facebook发送消息以将其张贴在活动墙上。

The message would follow the format found here . 该消息将遵循此处找到的格式。
Details of Event API 事件API的详细信息

The url of the event wall would be https://graph.facebook.com/ {event}/feed. 活动墙的网址为https://graph.facebook.com/ {event} / feed。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM