i get code this from facebook developers
$this->api('/ USER_ID /likes');
but how i get the list based on it' category using php-sdk. i have checked the Graph Api Explorer but the modifiers only limit,offset,target_id
I don't think it's possible with the graph api. But you could easily create you own array
$ordered_by_cat = array();
foreach($results['data'] as $result){
$ordered_by_cat[$result['category'] = $result
}
Given that $results is your json response
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.