title: How to like a facebook post using PostID using C#?
body: <p>Hello friend I having problem to like a facebook post.
  I am developing application in asp.net C#.<br>
  <br>
  <strong>My code</strong></p>
  
  <pre><code> public static string AppendQueryString(string key, string value)
          {
              return string.Format("{0}={1}&amp;", HttpUtility.UrlEncode(key), HttpUtility.UrlEncode(value));
          }
     public string PostID { get; private set; }     
  
   var url = "https://graph.facebook.com/me/feed?access_token=" + &lt;MY_AccessToken&gt;;
   var parameters =   (AppendQueryString("privacy", "{\"value\": \"EVERYONE\"}"))+
        AppendQueryString("message", "hi everybody this is test message");
   var webRequest = WebRequest.Create(url);
              webRequest.ContentType = "application/x-www-form-urlencoded";
              webRequest.Method = "POST";
              byte[] bytes = System.Text.Encoding.ASCII.GetBytes(parameters);
              webRequest.ContentLength = bytes.Length;
              System.IO.Stream os = webRequest.GetRequestStream();
              os.Write(bytes, 0, bytes.Length);
              os.Close();
  
    var webResponse = webRequest.GetResponse();
                  StreamReader sr = null;
                  try
                  {
                      sr = new StreamReader(webResponse.GetResponseStream());
                      this.PostID = sr.ReadToEnd();
                  }
                  finally
                  {
                      if (sr != null) sr.Close();
                  }
  </code></pre>
  
  <p>How to like a post using PostID.?</p>