Here is the code piece I used to debug:
public void Share (FacebookPost post)
{
FacebookDelegate<IShareResult> innerCallback = (result) =>
{
foreach (var item in result.ResultDictionary)
{
Debug.Log(item.Key + " " + item.Value);
}
}
FB.ShareLink (post.linkURL, post.linkTitle, post.linkDescription, post.imageURL, innerCallback);
}
The callback is expected to return a "cancelled" key if user closes the share dialog without sharing, but instead it returns "posted" key with "true" value, which is exactly the same result as when user literally "posts".
And it returns no other data that can help me to decide if user actually shared or not.
So, how can i decide if user shared or cancelled?