且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

通过Graph API而不是Comments插件在您的网站上添加Facebook Comments?

更新时间:2023-12-05 19:13:34

Dunno.但是您可以通过API以assoc数组的形式获取注释,如下所示:

Dunno about the comment post. but you can get the comments as an assoc array via the API as follows:

    $url = 'http://test.com';
    $arr = $this->facebook->api('comments/?ids='.$url); 

    echo("<pre>");
    print_r($arr[$url]['comments']['data']);