问题描述
我正在尝试通过Facebook API执行搜索,并从Facebook收到以下错误 - (#11)发布搜索已被弃用
I am trying to perform a search via the Facebook API and getting the following error from Facebook - (#11) Post search has been deprecated
URL我用来查询图表:
https://graph.facebook.com/search?q=search_query&type=post&access_token= { access_token}
URL I am using to query graph:https://graph.facebook.com/search?q=search_query&type=post&access_token={access_token}
任何想法,为什么会发生这样的事情,因为我似乎找不到任何关于post search被拒绝的内容?
Any ideas why this is happening as I can't seem to find anything about the post search being deprecated?
推荐答案
更新
Graph API v1.0已被完全弃用,不再可用作解决方法。
Graph API v1.0 has been fully deprecated and is no longer available as a workaround. Original answer below for reference.
是的,GraphAPI 2.0版不允许您搜索帖子了。请参阅。
Yes, version 2.0 of the GraphAPI does not let you search for posts anymore. See the updated documentation.
您可以通过更改API调用继续搜索帖子:
You can continue to search for posts by changing your API call to:
https://graph.facebook.com/v1.0/search?q=search_query&type=post&access_token={access_token}
即在 https://graph.facebook.com/
这篇关于Facebook API Post Search已弃用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!