I don’t know if it is possible but how can I get the list of person who shared a post on specific page
For example I wanted to get the list of the person who shared this post
https://www.facebook.com/shares/view?id=1322453071112636
I don’t think with graph explorer api of facebook is possible is there an other solution ?
2
Answers
It is possible via usage of
/{object-id}/sharedposts
endpoint.Example query in Graph Explorer for this post made by Facebook fanpage.
Keep in mind that you will be able to see only shares from people that has granted your app permisions to view their posts. [source]
With the current version (2.8) of Graph API you can make a request like this:
https://graph.facebook.com/v2.8/POST_ID?access_token=ACCESS_TOKEN&fields=sharedposts
Just change POST_ID to the post you want to get the shares from and include your access_token.
You can also select subfields which the sharedposts json object should contain. For further information see https://developers.facebook.com/docs/graph-api/reference/v2.8/object/sharedposts or try out stuff via the Graph API Explorer: https://developers.facebook.com/tools/explorer