Two questions regarding tracking shared links:
I have a URL and I want to get a list of public shares for that URL. I found this was answered a couple of times here on stackoverflow claiming it's impossible, but I don't understand why this is not allowed. If I can query public posts for given search keywords, like: https://graph.facebook.com/search?q=watermelon&type=post, then why can't I use URLs as my search query? Or is there a way to do this that I just missed somehow?
Let's say I have a link_id for a shared URL in the "link" FQL table. How can I find reshares of that link? (As possible in the Facebook website.)
As an attempt to find middle ground between the above 2 problems, I tried to perform this FQL query:
SELECT link_id, owner, title FROM link WHERE url="<url>" AND (
owner = me() OR owner IN (SELECT uid2 FROM friend WHERE uid1 = me())
)
But this failed, with error:
<error_response xmlns="http://api.facebook.com/1.0/">
<error_code>1</error_code>
<error_msg>An unknown error occurred</error_msg>
</error_response>