Graph api /inbox 缺少数据

发布于 2024-12-23 23:32:57 字数 322 浏览 4 评论 0原文

我有一个应用程序可以从用户的 Facebook 帐户获取消息,但我遇到了错误。

相关用户的收件箱中存在我和他之间的对话,但该对话并未显示在他使用特定 access_token 对 /me/inbox 进行的 API 调用中。

我确实有一个有效的令牌(它适用于所有其他调用),并且我知道它应该工作正常(我直接在浏览器中打开它进行调试,并且数据不存在)。

没有第二页可供查看,没有限制或时间戳,只是缺少数据。

为了测试,我们确实提供了每一个 API 权限,所以我知道这不是权限问题。

有谁知道为什么会发生这种情况以及如何解决它?

I have an application that goes and gets a users messages from their facebook account, but I've hit an error.

The user in question has a thread between him and me in his inbox, however it doesn't show up in his API call to /me/inbox with his specific access_token.

I do have a valid token (it works for all other calls), and I know it should be working fine (I am opening it in my browser directly to debug, and the data just does not exist).

There is no second page to view, no limit or timestamp imposed upon it, just missing data.

For testing, we do have every single API permission offered, so I know it is not a permissions problem.

Does anyone have any idea why this could be happening, and how to fix it?

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

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

发布评论

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

评论(1

臻嫒无言 2024-12-30 23:32:57

我也遇到了同样的问题。我发现使用“/me/threads”端点可以提供更完整的数据。

更新:

但是我发现这个端点暂时不适用于非开发人员:
https://developers.facebook.com/docs/reference/api/thread/< /a>

I was struggling with the same problem. I found that using the `/me/threads' endpoint delivers much more complete data.

Update:

However I found out that this endpoint is not available to non-developers for the time being:
https://developers.facebook.com/docs/reference/api/thread/

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