I am working with Facebook graph api for few days. I am trying to extract user\'s status and the information of reshared if any. I can easily find status of a user using
If the post type is photo sharedposts will return empty as the object is different to the postID
/317380948302131_847979698575584 => Object : 847979378575616
/317380948302131_847979698575584/sharedposts?fields=from,via
ObjectID will work as expected
/847979378575616//sharedposts?fields=from,via
The only problem if the object is a shared_post it will show all shares from the original post object too and no via node is present . Just struggle around some time why the APi only sometimes return sharedposts