我试图通过使用业务发现节点获得对某些企业帐户的评论。我可以加载请求的媒体列表
获取https://graph.facebook.com/v3.1/17841402914723639?fields=business_discovery.username(bluebottle) {followers_count,media_count,media {media_type,comments_count}}
这回来了
{
"business_discovery": {
"followers_count": 297515,
"media_count": 1317,
"media": {
"data": [
{
"media_type": "IMAGE",
"comments_count": 18,
"id": "17970528943031455"
},
{
"media_type": "IMAGE",
"comments_count": 17,
"id": "17938949563163035"
},
{
"media_type": "IMAGE",
"comments_count": 66,
"id": "17966264041064104"
},
我假设媒体条目中的id是该对象的id。但是,当我试图访问它时
GET https://graph.facebook.com/v3.1/17970528943031455
我收到了一个错误
{
"error": {
"message": "Unsupported get request. Object with ID '17970528943031455' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "HbaasWNQ8ko"
}
}
这是许可问题吗?如何获取媒体评论列表?
查询的语法是:
business-account-id?fields=business_discovery.username(bluebottle){media{comments}}
但是当我尝试时,我收到了这个错误:
{
"error": {
"message": "(#100) Please read documentation for supported fields.",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "BFuJQt0/Kt3"
}
}
所以我猜他们已经删除了获取评论的支持。