获取每个应用程序的请求 ID

发布于 2024-12-07 07:13:24 字数 278 浏览 2 评论 0原文

来自文档:

如果用户在请求上单击“接受”,他们将被发送到发送请求的应用程序的画布 URL。此 URL 将包含一个附加参数 request_ids,它是用户尝试执行操作的请求 ID 的逗号分隔列表: http://apps.facebook.com/[app_name]/?request_ids=[request_ids]

如何在不知道当前应用程序的 id 并从 url 获取它们的情况下获取它们的所有请求 id?

From documentation:

If a user clicks 'Accept' on a request, they will be sent to the canvas URL of the application that sent the request. This URL will contain an additional parameter, request_ids, which is a comma delimited list of Request IDs that a user is trying to act upon:
http://apps.facebook.com/[app_name]/?request_ids=[request_ids]

How to get all request id's for the current app without knowing their id's and getting them from url?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

偏爱你一生 2024-12-14 07:13:24

您可以使用 FQL 查询:

SELECT recipient_uid, request_id, app_id 
FROM apprequest 
WHERE recipient_uid = me() AND app_id = 182197005148613 

You could use a FQL query:

SELECT recipient_uid, request_id, app_id 
FROM apprequest 
WHERE recipient_uid = me() AND app_id = 182197005148613 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文