如何邀请朋友参加活动? iPhone 中的 Facebook 图形 API
我正在 Facebook 应用程序中工作,我已成功创建事件,我从 api 获取 name.place
、start_time
、endtime
属性。但我的问题是向 Facebook 好友发送活动邀请,为此我找到了很多细节,但没有多大帮助。
I am working in Facebook application in which I have created event Successfully, I am getting name.place
, start_time
, endtime
property from api. But my problem is to send events invitation to Facebook friends, for this I am finding lot of details but that not help much.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
像你一样,我已经弄清楚如何创建该事件。但是我不知道如何获取事件 id。如果你能告诉我怎么做那就太好了。
坏消息是 Facebook 似乎尚未使用 Graph API 实现邀请功能。
http://developers.facebook.com/docs/reference/rest/events。邀请/
希望这有帮助。
Like you I have figured out how to create the event. However I am not sure how to get the event id. If you can tell me how to do that it would be great.
Bad news is it looks like Facebook has yet to implement the invite functionality using the Graph API.
http://developers.facebook.com/docs/reference/rest/events.invite/
Hope this helps.
请参阅邀请选定用户参加 Facebook 活动(通过 Graph API)< /a>
Facebook 现在有一个用于邀请朋友参加活动的图形 API。
http://developers.facebook.com/docs/reference/api/event/< /a>
invited
创建
您可以通过向 /EVENT_ID/invited/USER_ID 发出 HTTP POST 来邀请用户参加活动。您可以通过向 /EVENT_ID/invited?users=USER_ID1,USER_ID2,USER_ID3 发出 HTTP POST 来邀请多个用户。这两个都需要 create_event 权限,如果邀请成功则返回 true。
see Inviting selected users to Facebook-Event (via Graph API)
Facebook now has a graph api for inviting friends to events.
http://developers.facebook.com/docs/reference/api/event/
invited
Create
You can invite users to an event by issuing an HTTP POST to /EVENT_ID/invited/USER_ID. You can invite multiple users by issuing an HTTP POST to /EVENT_ID/invited?users=USER_ID1,USER_ID2,USER_ID3. Both of these require the create_event permission and return true if the invite is successful.