使用和不使用 access_token 的 Facebook 搜索

发布于 2024-12-25 11:46:57 字数 864 浏览 1 评论 0 原文

我做了这项研究(没有 access_token):

https://graph.facebook.com/search?q=< /a>"il padrino"&type=page&fields=id,name

在结果中我看到第一个:

"id": "104130852958000", "name": "Il padrino"

这是“il padrino”最重要的页面,您可以在 Facebook 上手动搜索时看到。

然后我做了这项研究(使用带有每个权限的 access_token):

https://graph.facebook.com/search?q=%22il%20padrino%22&type=page&fields=id,name&access_token=ACCESS_TOKEN

在结果中有人消失了,而且之前的ID:104130852958000!!!

我用与“il padrino”不同的其他字符串尝试了这种奇怪的行为,但在许多情况下存在相同的问题(反之亦然:一些结果在没有 access_token 的情况下消失)。

怎么可能呢?我如何获得完整的结果列表?

实际上我认为我必须在有或没有access_token的情况下加入研究......但这看起来很奇怪。

I did this research (without access_token):

https://graph.facebook.com/search?q="il padrino"&type=page&fields=id,name

Among results I see the first one:

"id": "104130852958000",
"name": "Il padrino"

which is the most important page for "il padrino", as you can see when you search manually on Facebook.

Then I did this research (with an access_token with every permission):

https://graph.facebook.com/search?q=%22il%20padrino%22&type=page&fields=id,name&access_token=ACCESS_TOKEN

Among results someone disappeared and also the one before with id:104130852958000!!!

I tried this strange behavior with other strings different from "il padrino", but in many cases there is the same problem (or viceversa: some results disappear without the access_token).

How is it possible? How can I get a complete list of results?

Actually I think I have to join the research with and without access_token... but it seems strange.

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

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

发布评论

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

评论(2

笙痞 2025-01-01 11:46:57

这很烦人。请将其记录为 Facebook 的错误:https://developers.facebook.com/bugs 并发布也链接到您的报告,以便其他找到您问题的人可以看到它的当前错误。

That's annoying. Please log it as a bug with Facebook: https://developers.facebook.com/bugs and post a link to your report here too so others who find your question can see it's current bug.

叫嚣ゝ 2025-01-01 11:46:57

不,这是不可能的。您不能依赖返回的内容,因为它可能并且很可能会返回。尝试预测搜索结果是错误的,结果可能(而且确实)因用户、地理位置、内容限制以及可能的其他因素而异。

顺便说一句,无论是否使用 access_token,我都没有收到您所说的页面。

No, this isn't possible. You cannot rely on what is being returned since it may and probably will. Trying to predict search results is just wrong, the results may (and really do) differ between users, geographical locations, content restrictions and probably other things too.

BTW, I'm not getting the page you speak about no matter using access_token or not.

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