简体   繁体   English

使用和不使用access_token的Facebook搜索

[英]Facebook search with and without access_token

I did this research (without access_token): 我做了这项研究(没有access_token):

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

Among results I see the first one: 在结果中,我看到了第一个:

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

which is the most important page for "il padrino", as you can see when you search manually on Facebook. 这是“ il padrino”最重要的页面,正如您在Facebook上手动搜索时所看到的。

Then I did this research (with an access_token with every permission): 然后,我进行了这项研究(使用具有每个权限的access_token):

https://graph.facebook.com/search?q=%22il%20padrino%22&type=page&fields=id,name&access_token=ACCESS_TOKEN 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!!! 在结果中,有人消失了,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). 我使用不同于“ il padrino”的其他字符串尝试了这种奇怪的行为,但是在许多情况下,存在相同的问题(反之亦然:某些结果在没有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. 实际上,我认为无论有没有Access_token,我都必须加入研究……但是这似乎很奇怪。

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. 请通过Facebook将其记录为错误: https//developers.facebook.com/bugs,并在此处也发布指向您的报告的链接,以便其他发现您的问题的人可以看到它是当前的错误。

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. 顺便说一句,无论是否使用access_token ,我都不会得到您所谈论的页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM