I am trying to open a Send UI Dialog linking to the link property of a graph API photo object, however I’m receiving the following error:
property values must be strings or objects with a ‘text’ and a ‘href’ attribute
The Javascript code I’m using is as follows:
FB.ui({
method: "send",
display: "popup",
link: photo.link
});
It works if I set the name parameter, however it doesn’t include an image or description from the linked page. If I try to include an image of the photo, I receive the following error:
FBCDN image is not allowed in stream
Is there any sane way of sharing a photo uploaded to Facebook using the Send Dialog?
This appears to be a limitation imposed by Facebook.
From this post: