1
我抓住了喜歡我的朋友,但我也想抓住那些喜歡的鏈接。臉書,如何獲得更多關於喜歡的信息?
當你喜歡牆上的東西時,它會指向某個東西,無論你喜歡什麼。我正在談論所有這些鏈接。
編輯: 我得到現在的反應看起來類似:
{
"data": [
{
"name": "Seam Legging - Shooting Star",
"category": "Product/service",
"id": "114310318626160",
"created_time": "2011-06-15T22:26:18+0000"
},
{
"name": "Junior's 535\u2122 Legging - Seaport Blue",
"category": "Product/service",
"id": "146626898728947",
"created_time": "2011-06-15T22:26:17+0000"
},
{
"name": "Singer Needed For Pleasure Band CA Music Vocals Los Angeles, CA auditions Modeling Acting Auditions & Casting Calls ExploreTalent modeling audition america next top model",
"category": "Website",
"id": "122740287810745",
"created_time": "2011-06-15T19:06:13+0000"
},
{
"name": "Looking for singers R/B Britney type K P Music Vocals Los Angeles, CA auditions Modeling Acting Auditions & Casting Calls ExploreTalent extras acting extra",
"category": "Website",
"id": "130850386995940",
"created_time": "2011-06-15T19:06:12+0000"
},......
EDIT2:
我一直在嘗試使用FQL。但我仍然不明白的鏈接從裏面喜歡:
她是迄今爲止
<?php
$facebook = new Facebook(array(
'appId' => $client_id,
'secret' => $client_secret,
'cookie' => true,
));
$session = $facebook->getSession();
$likelink = $facebook->api(array('method' => 'fql.query', 'query' => 'SELECT likes FROM stream WHERE source_id ='.$myself.'',));
print_r($likelink);
?>
可以請您展示通過API調用返回給您的JSON對象嗎? – 2011-06-16 16:18:41
'{ 「數據」: { 「名」: 「縫裹腿 - 射擊之星」, 「類別」: 「產品/服務」, 「ID」: 「114310318626160」, 「CREATED_TIME」: 「2011-06-15T22:26:18 + 0000」 }, { 「name」:「Junior's 535 Legging - Seaport Blue」, 「category」:「產品/服務」, 「id」: 「146626898728947」, 「created_time」:「2011-06-15T22:26:17 + 0000」 }' – Patrioticcow 2011-06-16 16:25:35
我基本上得到:'name','id','category'和'date created' – Patrioticcow 2011-06-16 16:26:33