what are the post parameters i need to pass in [http://www.facebook.com/login.php?] Please help me.
views:
31answers:
2
+2
A:
I'm assuming they want to something shady...
to login to facebook via http requests you can do this:
make a post request to this url:
https://login.facebook.com/login.php
make sure you have the following header set:
Cookie: reg_fb_gate=http%3A%2F%2Fwww.facebook.com%2F; reg_fb_ref=http%3A%2F%2Fwww.facebook.com%2F
and use these post parameters:
locale=en_US&[email protected]&pass=password&persistent=1
(make sure to set your own email and pass