开发者

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.


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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜