简体   繁体   中英

Post Pictures directly to Facebook using Facebook.dll in WP7

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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