【发布时间】:2019-04-27 08:41:58
【问题描述】:
我正在尝试以这种方式从帖子评论中获取用户 ID
graph.facebook.com/328843224582668_329144074552583?fields=from
The result is
{
"name": "Napravo Gi Obivam",
"id": "332078520912222"
}
好的,很好。 但是当我像这样在 facebook 上寻找这个用户时
https://www.facebook.com/332078520912222
显示
Sorry, this content isn't available right now
The link you followed may have expired, or the page may only be visible to an audience you're not in.
Go back to the previous page · Go to News Feed · Visit our Help Center
我做错了什么,例如,我只想获取对 ID 为 123456 的帖子发表评论的实际用户。或者更具体地说,我想让所有用户评论的帖子 ID 为 123456
谢谢
【问题讨论】:
-
这就是获取 App Scoped User ID 的方法。如果您想要指向用户的链接,您会要求提供链接。
-
您不能再通过ID直接调用用户个人资料,Facebook将其删除,以更好地保护用户隐私。您现在需要先请求用户允许链接到他们的个人资料,请参阅提到的重复项。