我有一个使用 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模板网!