我想从 Facebook 图形数据数组中删除重复的帖子
我的页面数据如下:
{
"data": [
{
"link": "http://example.com/188",
"id": "427801497327797_428375477270399",
"created_time": "2013-06-29T14:16:26+0000"
},
{
"link": "http://example.com/188",
"id": "427801497327797_428375187270428",
"created_time": "2013-06-29T14:15:27+0000"
},
{
"link": "http://example.com/188",
"id": "427801497327797_428363873938226",
"created_time": "2013-06-29T13:33:17+0000"
},
{
"link": "http://example.com/196",
"id": "427801497327797_428363597271587",
"created_time": "2013-06-29T13:32:07+0000"
}
],
"paging": {
"previous": "",
"next": ""
}
}
您可以看到重复的链接example.com/188
。我想获取所有重复链接的 id。我正在使用facebook-page-poster