Q:

How to get shares count for a Photo in Facebook?

I want to get comments count, likes count and shares count for a page posts. I have their IDs and I'm trying to figure something out with the Graph API or FQL, but in vain.
For regular posts I can query the stream FQL table and I get the comment_info, like_info structures and shares_count variable.
For posted photos I can query the photo table and I get from there comment_info and like_info, but it lacks the shares_count.
I tried using Graph api like that: GET /550045508388715 and it returns a ton of information, but nothing related to share count.
I've googled that issue, but did not found any relevant solution.

A:

Instead of GET /ID use GET /POST_ID to get the shares count (if >1). You'll get the result as-
"shares": {
    "count": x
 }

Note- the Post ID is generally: USERID_PHOTOID ORPAGEID_PHOTOID

