Facebook API Post Search已弃用? [英] Facebook API Post Search Deprecated?

查看:189
本文介绍了Facebook API Post Search已弃用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过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已弃用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆