title: access facebook with ICS-SSL
body: <p>I'm trying to access/login to Facebook with a program (OverbyteIcsHttpTst.exe) compiled with Delphi using the component ThttpCli (<a href="http://www.overbyte.be/eng/products/ics.html" rel="nofollow noreferrer">ICS-SSL</a>, which is the latest version that supports https).</p>
  
  <p>The idea is that I want to to access Facebook just like an ordinary browser does.</p>
  
  <p>For example, I tried to login by using "post" to send some data to Facebook with the following code:</p>
  
  <pre><code>https://login.facebook.com/login.php?login_attempt=1
  
  POSTDATA=charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&amp;locale=en_US&amp;email=yourmail%40yahoo.com&amp;pass=yourpassword&amp;charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&amp;lsd=XAN99
  
  CooKies : datr=1281135108-ea5c44949be49439183341b84db24aeb6c589ca1d31dc0c0da28d; expires=Sun, 05-Aug-2012 22:51:48 GMT; path=/; domain=.facebook.com;lsd=0ygNR; path=/; domain=.facebook.com;reg_fb_gate=http%3A%2F%2Fwww.facebook.com%2F; path=/; domain=.facebook.com;reg_fb_ref=http%3A%2F%2Fwww.facebook.com%2F; path=/; domain=.facebook.com
  </code></pre>
  
  <p>But I'm still stuck on the main page.  Is anything missing? </p>
  
  <p>Thanks.</p>