現在、 /me/likesだけを使用してユーザーの likes オブジェクトを取得しています。これにより、次のようになります。
{
"data": [
{
"category": "Community",
"name": "Vectorealism Staff",
"id": "133776533453735",
"created_time": "2013-01-25T18:28:31+0000"
},
{
"category": "Media/news/publishing",
"name": "Done! Srl",
"id": "282694311753605",
"created_time": "2013-01-18T21:55:39+0000"
},
{
"category": "Community",
"name": "Different Solutions",
"id": "271915499553486",
"created_time": "2012-09-23T17:17:23+0000"
},
{
"category": "Non-profit organization",
"name": "Indigeni Digitali",
"id": "295601322240",
"created_time": "2012-01-23T19:32:13+0000"
},
{
"category": "Cause",
"name": "StartupVisa",
"id": "10150111295350167",
"created_time": "2011-12-11T19:12:51+0000"
},
{
"category": "Business services",
"name": "H-FARM Ventures",
"id": "84021019572",
"created_time": "2011-04-02T02:30:26+0000"
},
{
"category": "News/media website",
"name": "iSpazio",
"id": "179295038271",
"created_time": "2010-05-28T21:12:28+0000"
},
{
"category": "Website",
"name": "Hot Pin Venezuela",
"id": "110628642307976",
"created_time": "2010-04-20T18:45:08+0000"
},
{
"category": "Website",
"name": "El Chiguire Bipolar",
"id": "14588159235",
"created_time": "2008-11-07T02:27:12+0000"
}
],
"paging": {
"next": "https://graph.facebook.com/1125405534/likes?limit=5000&offset=5000&__after_id=14588159235"
}
}
この特定のケースでは、ユーザーの「いいね!」の数はわずかですが、このオブジェクトが非常に大きくなる場合があり、オブジェクトに言及された回数で計算された上位 5 つのカテゴリが必要なだけです。ソートされていない完全なオブジェクトを取得する代わりに、FQL を使用して必要なことを実行できますか?