2

我在 facebook 上创建了一个页面,并使用图形 api 在时间轴上发布帖子。作为管理员,这些帖子对我来说很好,但对于用户来说,页面是空的。

我用graph api explorer验证了。作为管理员,/NewsCrier/feed 的 GET 中充满了数据。

作为非管理员用户返回相同的请求

{
  "data": [  ]
}

这是我的管理员用户回复的示例帖子,请注意隐私设置为公开:

{
  "id": "383422711781035_404880726301900", 
  "from": {
    "category": "Community", 
    "name": "News Crier", 
    "id": "383422711781035"
  }, 
  "message": "This appears to be the DC shooter, Aaron Alexis", 
  "picture": "https://fbexternal-a.akamaihd.net/safe_image.php?d=AQD4wR0Y9UVbb4Js&w=154&h=154&url=http%3A%2F%2Fwww.justmugshots.com%2Fimg%2F814064%2Flg%2Faaron-alexis.jpg", 
  "link": "http://www.justmugshots.com/texas/fort-worth/814064", 
  "name": "Aaron Alexis, Arrested on 2010-09-04", 
  "caption": "www.justmugshots.com", 
  "description": "Aaron Alexis was arrested in Fort Worth, Texas on 2010-09-04. See the mugshot now.", 
  "icon": "https://fbstatic-a.akamaihd.net/rsrc.php/v2/yD/r/aS8ecmYRys0.gif", 
  "actions": [
    {
      "name": "Comment", 
      "link": "https://www.facebook.com/383422711781035/posts/404880726301900"
    }, 
    {
      "name": "Like", 
      "link": "https://www.facebook.com/383422711781035/posts/404880726301900"
    }
  ], 
  "privacy": {
    "description": "Public", 
    "value": "EVERYONE", 
    "friends": "", 
    "networks": "", 
    "allow": "", 
    "deny": ""
  }, 
  "type": "link", 
  "status_type": "shared_story", 
  "application": {
    "name": "Reddit News Alerts", 
    "id": "693375074022011"
  }, 
  "created_time": "2013-09-16T19:36:07+0000", 
  "updated_time": "2013-09-16T19:36:07+0000"
}
4

1 回答 1

2

问题是您的 Facebook 应用程序处于沙盒模式,一旦您从沙盒中获取应用程序,所有用户都会看到新创建的帖子;)

于 2013-09-16T21:59:17.627 回答