gpt4 book ai didi

facebook - 如何使用 facebook graph api 从用户那里获取所有事件?

转载 作者:行者123 更新时间:2023-12-04 18:16:07 25 4
gpt4 key购买 nike

我要求访问 user_events 和 friends_events。这是我从中获取 json 内容的 url。

https://graphs.facebook.com/me/events?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

我不断收到 {"data":[]}

我查看了我的 facebook 页面,我有一百万个事件。

最佳答案

使用 https://graphs.facebook.com/me/events仅获取您参与或不确定的事件。

但。您可以使用 FQL 从用户那里获取所有事件。参加与否。

select eid, uid, rsvp_status from event_member where uid = me()

rsvp_status 可以是

"attending","declined","not_replied" and "unsure"



查看 here

关于facebook - 如何使用 facebook graph api 从用户那里获取所有事件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11674750/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com