locked
Sharing from desktop app to Facebook profile RRS feed

  • Question

  • Hi

    I am planning to develop a desktop Windows Form App or WPF App using C# .NET. I need to implement the upload functionality from my application to social websites like Facebook.

    I want to share the photos/videos of my application on Facebook such that user will login to his/her Facebook account first, and after login when user clicks the Share button of my application, the selected photo/video should be shared to their Facebook account/wall.

    I want the application to be self-contained without someone having to go to a browser outside the app to Share the image on Facebook.

    My requirement is that I do not want to create any app token or access token, because I want to share photos on different users wall, right after they login to their Facebook account.

    I may need to create an app in my Facebook account (from Facebook Developer page - https://developers.facebook.com/apps ), and use this app to publish photos on user's wall.

    Here is a SDK for it http://facebooksdk.codeplex.com But the website for documentation is down i.e  C#/.NET Wrapper around this API has no contents: http://csharpsdk.org/

    Thanks

    Thursday, June 9, 2016 12:24 AM

All replies

  • Hi shakeelsoft,

    This forum is about the .net framework c# programming, as your issue is more related to the facebook development, it would be out of the support scopes of this forums. You’d better post your issue in the right forum for better support.

    >>” My requirement is that I do not want to create any app token or access token, because I want to share photos on different users wall, right after they login to their Facebook account.”

    I have found a link that provides a method to upload Facebook photos through Windows Form application and you could have a look. As it shows, if a user login the Facebook successfully, it would return a token for uploading the photos, not for the application.

    http://dotnetthoughts.net/how-to-upload-image-on-facebook-using-graph-api-and-c/

    Now, I would move this thread to "off topic". If you have any issues about C# development, you are welcome to post them here.

    Thank you for your understanding and support.

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,

    Albert Zhang


    Thursday, June 9, 2016 4:52 AM