如何使用 Facebook 的 Graph Api 获取游戏邀请列表?

问题描述 投票:0回答:1

列表显示在选项卡中:“游戏请求”或“应用程序请求”。如何获取json格式的列表?

facebook facebook-graph-api fbjs
1个回答
1
投票

就我而言,您只能为特定应用程序获取它,即检查用户是否有来自您的应用程序的任何请求。我找不到任何可以返回用户所有请求的内容。

您可以尝试

https://graph.facebook.com/User_ID/apprequests?access_token=...

https://graph.facebook.com/User_ID/platformrequests?access_token=...
,但后一个必须使用应用程序秘密签名会话来调用

© www.soinside.com 2019 - 2024. All rights reserved.