Grab link posted on Facebook

Asked

Viewed 106 times

6

Does anyone know how to get the link that was posted on Facebook via callback?

I want to know which link was generated when the user made the sharing, so I can validate and even see if he actually made a share.

Having this information I can record it in the bank, including for audits.

I did not find this training in the Facebook documentation so far

1 answer

1

According to that answer in SOEN, and also assuming you are using the Facebook API, you can process the input values links returned by Opengraph, accessible from:

https://graph.facebook.com/userID/links?access_token=<access_token>

Being <access_token> your usage authorization key.

Scroll through the returned links (apparently a collection of information) and analyze the value of the input link (in the singular).

A consideration made by the author of the original answer is that even if a high limit is set for the number of results, it is still possible to have to deal with Paginations.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.