0
其实,我得到了facebook的帖子的post_id,我正在寻找获得张贴的页面。函数“getParentId”是否返回?如何获得出版物的海报?
其实,我得到了facebook的帖子的post_id,我正在寻找获得张贴的页面。函数“getParentId”是否返回?如何获得出版物的海报?
根据Facebook API documentation,parent_id
是“此帖的父帖子的ID(如果存在)”。因此,这不是你想要的。
您可以通过facebook4j的getFrom方法获取帖子所属页面的ID。
图形浏览器例如:
postId=5281959998_10151166683754999
GET /v2.9/$postId?fields=from
{
"from": {
"name": "The New York Times",
"id": "5281959998"
},
"id": "5281959998_10151166683754999"
}