facebook API v2.7 in node.js how to get comments and likes count
<p>i am trying to make a request fetching  share_count, like_count, comment_count,
        total_count, commentsbox_count, comments_fbid and click_count from my node.js server using the new facebook api v2.7 . </p>

<p>what i came out with until now is :
         var likesCount=0;
        var commentCount=0;
        var shareCount=0;
        rp(graphApiReq, { json: true })
            .then(res => {
                commentCount = res.share.comment_count;
                shareCount = res.share.share_count;
                let graph_id = res.og_object.id;
                let likesApiReq = <code>https://graph.facebook.com/v2.7/${graph_id}/likes?summary=true&amp;access_token=${appId}|${appSecret}</code>;
                rp(likesApiReq, { json: true })
                    .then(likesRes => {
                        likesCount = likesRes.summary.total_count;
                    })
                response.send({likesCount,commentCount,shareCount});
            })</p>

<p>so basically i have here 2 calls :
1. to fetch the comments count which in a weird way is always 0 , and the share count , which actually works , using this request : 
<code>https://graph.facebook.com/v2.7/?id=${url}/&amp;access_token=${appId}|${appSecret}</code>;</p>

<ol start="2">
<li>to get the likes count,which in a weird way is also always 0 , i had to preform another call using the graph id coming from the first call ,
<code>https://graph.facebook.com/v2.7/${graph_id}/likes?summary=true&amp;access_token=${appId}|${appSecret}</code></li>
</ol>

<p>any ideas?do i really need those 2 calls ? why the results are always 0?</p>

<p>thanks!</p>