Hi I am creating a coloring book where users can color a drawing and then share it on their facebook wall.
I am able to do this with a image URL but I want to do this without uploading the image on any server. Is this possible?
This is what I have but it doesnt work if I put the ImageUri as something other than a web link
public void FBShare ()
{
if (FB.IsLoggedIn) {
Debug.Log ("FB is logged in");
string imagePath = Application.persistentDataPath + "/colorize.png";
//System.IO.File.WriteAllBytes (imagePath, inComingImg.EncodeToPNG ());
FB.FeedShare (
string.Empty,
new Uri ("https://myapplink/"),
"Title",
"Caption",
"Description",
new Uri (imagePath),
string.Empty,
ShareCallBack
);
} else {
Debug.Log ("FB is not logged in");
FBLogin ();
}