• Am trying to retrieve my comment count using FQL but am finding that there is none there despite v2 Only being selected and “Enable native facebook comment count (does nothing unless “v2 only” is selected).” also being selected.

    My comment count FQL just keeps returning Array () and when I use the fql.query tester on the Facebook Developer site I just return empty brackets (“[]”)…please advise!

    <?php session_start();
    
    require "./facebook.php";
    
    $facebook = new Facebook(array(
    'appId'  => "MY APP ID",
    'secret' => "MY SECRET",
    ));
    
    $commentCountquery = "SELECT count FROM comments_info WHERE app_id = 'MY APP ID' AND xid = 'DEFAULTXIDSTRING_post<mytestpostID>'";
    
    $param  =   array(
        'method'    => 'fql.query',
        'query'     => $commentCountquery,
        'callback'  => ''
    );
    
    $commentCountresult   =   $facebook->api($param);
    print_r( $commentCountresult );
    
    ?>

    http://ww.wp.xz.cn/extend/plugins/facebook-comments-for-wordpress/

The topic ‘[Plugin: Facebook Comments for WordPress] Comment Count’ is closed to new replies.