我可以使用https://graph.facebook.com/comments/?ids=id检索我的 fb 评论,但我无法将评论发回 fb,下面是我的代码,请给我一些指导
$accessToken = 'xxxxxxxxxxxxxxxxxx';
$facebook = new Facebook(array(
'appId' => 'xxxxxxxxxxx',
'secret' => 'xxxxxxxxxx',
));
$ret_obj = $facebook->api('/appid/comments', 'POST',
array(
'access_token' => $accessToken,
'message' => $comemnts
)
);
echo 'success...';