开发者

Post Pictures directly to Facebook using Facebook.dll in WP7

开发者 https://www.devze.com 2023-04-04 03:56 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消