post 的 Facebook 分享未显示结果
Facebook shares of a post not displaying results
如何从 Facebook Graph 获取分享?
的结果为空白
https://graph.facebook.com/v2.2/<postid>/sharedposts?access_token=<access_token>
而
https://graph.facebook.com/v2.2/<postid>/comments?access_token=<access_token>
和
https://graph.facebook.com/v2.2/<postid>/likes?access_token=<access_token>
给出了正确的结果。
空白结果,我的意思是:
{
"data": [
]
}
我猜您使用的访问令牌缺少 read_stream
权限,如
中所述
A user access token with read_stream permission, for someone who is able to view the post after privacy settings are taken into account.
如何从 Facebook Graph 获取分享?
的结果为空白https://graph.facebook.com/v2.2/<postid>/sharedposts?access_token=<access_token>
而
https://graph.facebook.com/v2.2/<postid>/comments?access_token=<access_token>
和
https://graph.facebook.com/v2.2/<postid>/likes?access_token=<access_token>
给出了正确的结果。
空白结果,我的意思是:
{
"data": [
]
}
我猜您使用的访问令牌缺少 read_stream
权限,如
A user access token with read_stream permission, for someone who is able to view the post after privacy settings are taken into account.