是否无法使用来自 Facebook 的搜索 query/keyword 来检索帖子?
Is there no way available for retrieving posts using a search query/keyword from facebook?
我正在尝试使用 GraphAPI 通过搜索 query/keyword 从 Facebook 检索各种帖子。
这是我试过的:
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/search?q=solareclipse&type=post",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();
但是我得到了这个错误:
{
"error": {
"message": "(#11) This method is deprecated",
"type": "OAuthException",
"code": 11,
"fbtrace_id": "AZD1YH0em2M"
}
}
Facebook 是否完全收回了通过其 public 帖子进行搜索的特权,还是有其他可用的方式?
自 Graph API v2.0 以来,无法再搜索 public 个帖子。
有一个 public 供稿 API (https://developers.facebook.com/docs/public_feed),但访问仅限于某些媒体公司。
我正在尝试使用 GraphAPI 通过搜索 query/keyword 从 Facebook 检索各种帖子。
这是我试过的:
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/search?q=solareclipse&type=post",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();
但是我得到了这个错误:
{
"error": {
"message": "(#11) This method is deprecated",
"type": "OAuthException",
"code": 11,
"fbtrace_id": "AZD1YH0em2M"
}
}
Facebook 是否完全收回了通过其 public 帖子进行搜索的特权,还是有其他可用的方式?
自 Graph API v2.0 以来,无法再搜索 public 个帖子。
有一个 public 供稿 API (https://developers.facebook.com/docs/public_feed),但访问仅限于某些媒体公司。