Public post search has been removed from v2.0. If you created your app after 4/30/2014 you can only use v2.0. Even if you specify v1.0 in the url v2.0 will be used.
Facebook Post query deprecated
-
21-07-2023 - |
题
I was querying public posts using Facebook API with the following URL:
https://graph.facebook.com/v1.0/search?q=XXX&type=post&access_token=XXX
And it was working fine. After that, I tried to use a recent account, and API keeps returning an error telling that this method is deprecated.
I can't find any other option to query public posts (feeds) using v2.0. Is there any?
Thank you very much!
解决方案
不隶属于 StackOverflow