使用PHP API时posts
'likes
有详细格式
[likes] => Array
(
[data] => Array
(
[0] => Array
(
[name] => Ergec Senturk
[id] => 614603990
)
)
[count] => 1
)
但likes
的{{1}}仅作为计数的数字而非详细提供
comments
如何以详细格式获取[likes] => 1
'comments
?
编辑:我用它来发帖子
likes
答案 0 :(得分:1)
好的,我找到了。以下是未来Google员工的解决方案
$likes = $facebook->api('/comment_id/likes');
comment_id是格式为xxxxxxxxxxxxxxx_xxxxxxxxxxxxxxx_xxxxxxx