最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Can't access post detail with Facebook Graph API - Stack Overflow

programmeradmin5浏览0评论

I'm new to facebook API and at first time I tried it to fetch group post with its Graph Explorer interface, it throw a bunch of possible errors, either the token is lack of permission, the post id is invalid/not available or the operation is not supported, the problem is, I'm not sure which one is the cause.

I'm reading this documentation and it tell me that the endpoint require Page Public Content Access permission, however the Graph Explorer didn't have Page Public Content Access option on permission's input select form.

here's the debug information of group post endpoint:

==== Query
  curl -i -X GET \
   ".0/1361242801672595?access_token=<access token sanitized>"
==== Access Token Info
  {
    "perms": [
      "user_events",
      "public_profile"
    ],
    "user_id": 591296403891078,
    "app_id": 1219296499527873
  }
==== Parameters
- Query Parameters


  {}
- POST Parameters


  {}
==== Response
  {
    "error": {
      "message": "Unsupported get request. Object with ID '1361242801672595' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at ;,
      "type": "GraphMethodException",
      "code": 100,
      "error_subcode": 33,
      "fbtrace_id": "AbpWKnoIT3Get0IurPvgxvC"
    }
  }
==== Debug Information from Graph API Explorer
- /?method=GET&path=1361242801672595&version=v22.0

the post id is originated from this post (it's a public group)

发布评论

评论列表(0)

  1. 暂无评论