简体   繁体   English

使用WP7中的Facebook.dll将图片直接发布到Facebook

[英]Post Pictures directly to Facebook using Facebook.dll in WP7

I want to post a picture to photos section in facebook. 我想在Facebook的“照片”部分发布图片。 I saw many examples but I could see that I have to pass the URL of the image to post it 我看到了很多示例,但我可以看到必须传递图像的URL才能发布图像

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. 有什么方法可以上传图片,而不是提供指向图片的URL链接。

我认为您必须使用用户页面 API上传照片,然后通过object_Id在帖子中引用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM