API get post by post id

I'm having problem fetching post by post id using Graph API. In Graph API reference (https://developers.facebook.com/docs/reference/api/post/) it says that:

Querying without the read_stream permission will return only the public view of the data (ie data that can be see when the user is logged out).

I'm able to open https://www.facebook.com/franzee/posts/10151947780174121 without logging in to Facebook, but when I try to access this post using Graph API or Graph API Explorer I get the following error

{
    "error": {
        "message": "Unsupported get request.", 
        "type": "GraphMethodException", 
        "code": 100
    }
}

I am using valid token and Graph API call, and I'm getting results when fetching single posts from group or public page. Why is then error message returned when I try to fetch post by post id even though the post is visible when I'm logged out?


如果用户没有来自可以看到帖子的用户的访问令牌,则无法访问用户的帖子 - 即使帖子被标记为“公开”,这意味着公开给Facebook用户,并非通过网络和API完全公开 - 您仍然需要提供代表你提交帖子的Facebook用户的访问令牌

链接地址: http://www.djcxy.com/p/5580.html

上一篇: 通过Facebook Graph API检索公共Facebook页面

下一篇: API通过帖子ID获取帖子