I’ve put this code responsible for sharing posts on Facebook:
As described here: https://stackoverflow.com/a/20262460/6397554
And now, I would like to know how I can get
post_id of the post that was shared. I really need to have this
post_id to later count the post’s clicks. I guess maybe I could use some sort of a callback that receives post data.
Note: I’ve tried using Facebook API, but I need to allow my application users to share many different links on Facebook.