简体   繁体   中英

Facebook search with and without 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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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