I am using Facebook graph API to upload photo to the Facebook and on return I am getting the object id (which is actually the photo id), but I need the POST ID of that particular post in order to get the details such total number of comments and total number of likes of that post.
Is it possible to get the post Id using object id? Or is there any Facebook API to get the comments count and likes count using the object id?
Making a call to
https://graph.facebook.com/PHOTO_IDwill return to you all the information (that you have permissions to see) for that photo object.You can use the Graph API Explorer to test these methods out…