I want to post a picture to photos section in facebook. I saw many examples but I could see that I have to pass the URL of the image to post it
dynamic parameters = new ExpandoObject();
parameters.message = "Check out this funny article";
parameters.link = 开发者_开发问答"http://www.example.com/article.html";
parameters.picture = "http://www.example.com/article-thumbnail.jpg";
parameters.name = "Article Title";
parameters.caption = "Caption for the link";
parameters.description = "Longer description of the link";
Is there any way to upload the picture instead of providing the URL link to the image.
I believe you would have to upload the photo using the user or page APIs, and then reference it in a post via the object_Id
.
精彩评论