问题描述
我有一个使用 Graph API 的应用程序.我让它为用户创建事件,但想让用户从我们的网站邀请他们的朋友,而不必去事件 Facebook 页面.有谁知道我也必须发送朋友的 ID 以像使用旧 API 一样邀请他们的请求?或者,如果它甚至存在?我发现 API 文档中的很多细节都很模糊.谢谢!
I have an application using the Graph API. I have it creating events for the user, but would like to let the user invite their friends from our site instead of having to go to the events Facebook page. Does anyone know of the request I have to send the friends' IDs too to invite them like with the old API? Or if it even exists? I am finding a lot of the finer details in the API documentation are vague. Thank you!
另外,附带问题,您可以通过创建 POST 发送活动照片吗?我没有提到如何通过事件创建提交照片.谢谢.
Also, side question, can you send an event photo with the create POST? I see no mention on how to submit a photo with the event creation. Thanks.
推荐答案
在 图形 API 的 v2.4:
Event 节点不再支持端点上的 GET 操作/v2.4/{event_id}/invited、/v2.4/{event_id}/likes,或/v2.4/{event_id}/sharedposts.
The Event node no longer supports GET operations on the endpoints /v2.4/{event_id}/invited, /v2.4/{event_id}/likes, or /v2.4/{event_id}/sharedposts.
无法再邀请用户参加活动,您必须改用 facebook.com.
There is no way to invite users to an Event anymore, you have to use facebook.com instead.
这篇关于如何邀请用户好友参加活动?Facebook 图谱 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)