阅读Facebook应用在用户墙/新闻Feed上发布的帖子

时间:2012-07-10 16:43:03

标签: facebook-graph-api facebook-fql

有没有办法通过facebook api电话或FQL来获取Facebook应用在用户墙上发布的帖子。

例如用户阅读“华盛顿邮报社交阅读器”应用程序上的文章,该文章显示在“近期活动”下的用户墙上。

这不会显示在 me / feed me / posts me / home 中。
我阅读了订阅实时更新的文档,但没有提供有关此事的帮助。

1 个答案:

答案 0 :(得分:0)

要获得类似于“社交阅读器”的活动,您需要使用以下端点

/me/news.reads user_actions.news权限

示例回复

{
  "data": [
    {
      "id": "10100213573074777", 
      "from": {
        "name": "Philippe Harewood", 
        "id": "13608786"
      }, 
      "start_time": "2011-11-22T22:24:40+0000", 
      "end_time": "2011-11-22T22:24:40+0000", 
      "publish_time": "2011-11-22T22:24:40+0000", 
      "application": {
        "name": "Washington Post Social Reader", 
        "namespace": "wpsocialreader", 
        "id": "225771117449558"
      }, 
      "data": {
        "article": {
          "id": "10150354603148014", 
          "url": "https://fb.trove.com/fbwapolabs/me/channels/67284/content/hLt5k", 
          "type": "article", 
          "title": "Tom Brady May Have Gone Blind"
        }
      }, 
      "type": "news.reads", 
      "no_feed_story": false, 
      "likes": {
        "count": 0, 
        "can_like": true, 
        "user_likes": false
      }, 
      "comments": {
        "count": 0, 
        "can_comment": true, 
        "comment_order": "chronological"
      }
    },