2013-03-05 63 views

回答

0

應用程序可以檢索爲授權用戶發佈的操作。例如,食譜應用程序可以檢索我烹飪或計劃烹飪的所有食譜,並根據數據自定義應用程序體驗。

此API返回操作的元數據,包括時間戳以及自定義屬性及其值。從某個操作引用的對象將返回一個深度級別。

GET /{action-instance-id} 

下檢索一個特定的動作實例

https://graph.facebook.com/{action-instance-id}?access_token=USER_ACCESS_TOKEN 

響應

{ 
    "id": "1538292028372" 
    "start_time": 1303502229, 
    "end_time": 1303513029, 
    "data": { 
     "type": "recipebox:recipe", 
     "url": "http://www.example.com/pumpkinpie.html", 
     "id": "1234567890", 
     "title": "Pumpkin Pie" 
    }, 
} 

以上內容是從FB Documentaion

+0

我想的每個對象的動作總數而不是一個具體的行動。 – Mohsen 2013-03-05 03:54:32

+0

http://stackoverflow.com/questions/9978368/querying-open-graph-objects-and-actions - >結帳這個鏈接 – thomasbabuj 2013-03-05 09:30:54

+0

所以答案是'不,你不能從Facebook獲取這些數據'。這令人失望! – Mohsen 2013-03-05 19:08:35