WP7 application how to post a local picture with facebook C# SDK?

非 Y 不嫁゛ 提交于 2019-12-08 09:41:36

问题


I am developing a WP7 application and want to post a picture to the wall. I find that it need a URI for the picture but if I want to post a local picture from the mobile, what I should specify here or how can i get the uri for the local picture? Thanks a lot!


回答1:


The last time I looked at working with the Facebook SDK it wasn't possible to post a local photo to the user's wall; you had to have the photo hosted online somewhere already. However you can post to the user's photos section.

There is a forum post on the App Hub that gives the code for doing this. I think the Facebook C# SDK supports WP7, but I'm not sure if it will simplify this process any further.



来源:https://stackoverflow.com/questions/5090865/wp7-application-how-to-post-a-local-picture-with-facebook-c-sharp-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!