user_posts 和 user_status 之间的区别
Difference between user_posts & user_status
我很困惑 user_status
许可是否有用。我尝试了 user_posts
并且效果很好,但是 user_status
不起作用。
我不知道我是否遗漏了什么。我已经在 Graph API Explorer.
上试过了
我想知道什么?
如何只使用user_status
权限?根据 Facebook 参考 user_status
Provides access to a person's statuses. These are posts on Facebook which don't include links, videos or photos.
我已经知道了什么?
通过获取 user_posts 权限,我通过获取 /me/feed
的节点数据成功获得了状态更新和其他帖子。
编辑:
说 user_status
不起作用,我的意思是当我使用 /me/feed
时,我应该获得我的状态(而不是其他类型的帖子),但我没有得到任何东西。
权限 user_status
在 Graph 的 v2.4 中不再可用 API:
GET /v2.4/{id}/links
and GET /v2.4/{id}/statuses
will no longer be available beginning in v2.4. As an alterantive, we suggest using GET /v2.4/{id}/feed
.
因此,您应该按照建议将 /{id}/feed
与 user_posts
权限一起使用。参见
对于文档。如果您只想要状态,则可以使用 filter
参数,例如:
/{id}/feed?filter=app_2915120374
我很困惑 user_status
许可是否有用。我尝试了 user_posts
并且效果很好,但是 user_status
不起作用。
我不知道我是否遗漏了什么。我已经在 Graph API Explorer.
我想知道什么?
如何只使用user_status
权限?根据 Facebook 参考 user_status
Provides access to a person's statuses. These are posts on Facebook which don't include links, videos or photos.
我已经知道了什么?
通过获取 user_posts 权限,我通过获取 /me/feed
的节点数据成功获得了状态更新和其他帖子。
编辑:
说 user_status
不起作用,我的意思是当我使用 /me/feed
时,我应该获得我的状态(而不是其他类型的帖子),但我没有得到任何东西。
权限 user_status
在 Graph 的 v2.4 中不再可用 API:
GET
/v2.4/{id}/links
andGET /v2.4/{id}/statuses
will no longer be available beginning in v2.4. As an alterantive, we suggest usingGET /v2.4/{id}/feed
.
因此,您应该按照建议将 /{id}/feed
与 user_posts
权限一起使用。参见
对于文档。如果您只想要状态,则可以使用 filter
参数,例如:
/{id}/feed?filter=app_2915120374