• Home /
  • Blog /
  • Facebook C# SDK how to post on wall
Facebook Csharp How To Post

Facebook C# SDK how to post on wall

We used the Facebook C# SDK for one of our clients to post messages on the Facebook wall. The API is easy to use and understand, and in this article, we are going to describe all steps to post on the Facebook wall using Facebook API. Facebook provides Graph API for all features, including posting on the wall. The name of the method is "feed":

https://graph.facebook.com/[ID_OF_WALL_PAGE]/feed

You have to send an HTTP post message to the URL above with the post object. The post object has the following properties:

  • picture
  • link
  • message
  • name
  • caption
  • description
  • category

and it looks like this in browser

Posting on the Facebook wall with C# Facebook SDK

This example uses .NET 4, but the C# Facebook SDK also supports .NET 3.5.

The code is pretty easy, and the most important thing you need is the Facebook Access Token. Once you have the access token, you can create a facebook wall message and submit it to facebook graph API URL with HTTP POST request.

I used C# SDK which was available on CodePlex, but it is no longer available there.
Yaplex - Freelance developer - white logo on black background

Yaplex ® is a custom software development company located in Mississauga, Ontario. Yaplex was founded in 2013 and provides website development, mobile development, and custom .NET software development services.

Contact Information

Mississauga, ON, Canada
Phone: +1 647 328 3809
Email: hello@yaplex.com