望着數據 -
"data": [
{
"id": "171866742868832_401252956589556",
"from": {
"name": "MuzikGarage",
"category": "Musician/band",
"id": "171866742868832"
},
...
},
{
"id": "171866742868832_476648515696413",
"from": {
"name": "MuzikGarage",
"category": "Musician/band",
"id": "171866742868832"
},
...
},
{
"id": "171866742868832_379816898740481",
"from": {
"name": "MuzikGarage",
"category": "Musician/band",
"id": "171866742868832"
},
...
}
...
]
你可以看到,每篇文章有一個包含關於誰張貼的具體細節from
對象信息。你可以做的是迭代你得到的所有結果,並檢查data['from']['id']
字段以查看該帖子是否是由頁面創建的。
來源
2012-07-10 13:10:12
Lix
這不是編程相關的問題,讀API文檔,做一些試驗和錯誤!爲了方便使用apigee,如果你想的話。 – doNotCheckMyBlog 2012-07-10 12:55:28
@owl - 它**與Facebook平臺的編程有關。 – Lix 2012-07-10 12:58:37
能否發我一個API文檔URL – user578386 2012-07-10 12:58:51