tags:

views:

31

answers:

2

what are the post parameters i need to pass in [http://www.facebook.com/login.php?] Please help me.

A: 

Facebook doesn't use this method anymore. They even removed all references to it from their docs. Google cache still has them here if you really need those (not sure if that link works for you).

New way of authorization is described here.

serg
+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

related questions